Fix cpplint warning.
This commit is contained in:
parent
e5176d6a0a
commit
dd6caba082
2 changed files with 5 additions and 4 deletions
|
@ -28,6 +28,7 @@ class PowerMonitor : public mate::EventEmitter,
|
||||||
virtual void OnSuspend() OVERRIDE;
|
virtual void OnSuspend() OVERRIDE;
|
||||||
virtual void OnResume() OVERRIDE;
|
virtual void OnResume() OVERRIDE;
|
||||||
|
|
||||||
|
private:
|
||||||
DISALLOW_COPY_AND_ASSIGN(PowerMonitor);
|
DISALLOW_COPY_AND_ASSIGN(PowerMonitor);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
#ifndef ATOM_COMMON_LOCKED_HANDLE_SCOPE_H_
|
#ifndef ATOM_COMMON_BROWSER_V8_LOCKER_H_
|
||||||
#define ATOM_COMMON_LOCKED_HANDLE_SCOPE_H_
|
#define ATOM_COMMON_BROWSER_V8_LOCKER_H_
|
||||||
|
|
||||||
#include "base/memory/scoped_ptr.h"
|
#include "base/memory/scoped_ptr.h"
|
||||||
#include "v8/include/v8.h"
|
#include "v8/include/v8.h"
|
||||||
|
@ -13,7 +13,7 @@ namespace atom {
|
||||||
// Like v8::Locker, but only do lock when in browser process.
|
// Like v8::Locker, but only do lock when in browser process.
|
||||||
class BrowserV8Locker {
|
class BrowserV8Locker {
|
||||||
public:
|
public:
|
||||||
BrowserV8Locker(v8::Isolate* isolate);
|
explicit BrowserV8Locker(v8::Isolate* isolate);
|
||||||
~BrowserV8Locker();
|
~BrowserV8Locker();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -25,4 +25,4 @@ class BrowserV8Locker {
|
||||||
|
|
||||||
} // namespace atom
|
} // namespace atom
|
||||||
|
|
||||||
#endif // ATOM_COMMON_LOCKED_HANDLE_SCOPE_H_
|
#endif // ATOM_COMMON_BROWSER_V8_LOCKER_H_
|
||||||
|
|
Loading…
Add table
Reference in a new issue