Fix cpplint warning.

This commit is contained in:
Cheng Zhao 2014-04-18 17:28:05 +08:00
parent e5176d6a0a
commit dd6caba082
2 changed files with 5 additions and 4 deletions

View file

@ -28,6 +28,7 @@ class PowerMonitor : public mate::EventEmitter,
virtual void OnSuspend() OVERRIDE;
virtual void OnResume() OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(PowerMonitor);
};

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ATOM_COMMON_LOCKED_HANDLE_SCOPE_H_
#define ATOM_COMMON_LOCKED_HANDLE_SCOPE_H_
#ifndef ATOM_COMMON_BROWSER_V8_LOCKER_H_
#define ATOM_COMMON_BROWSER_V8_LOCKER_H_
#include "base/memory/scoped_ptr.h"
#include "v8/include/v8.h"
@ -13,7 +13,7 @@ namespace atom {
// Like v8::Locker, but only do lock when in browser process.
class BrowserV8Locker {
public:
BrowserV8Locker(v8::Isolate* isolate);
explicit BrowserV8Locker(v8::Isolate* isolate);
~BrowserV8Locker();
private:
@ -25,4 +25,4 @@ class BrowserV8Locker {
} // namespace atom
#endif // ATOM_COMMON_LOCKED_HANDLE_SCOPE_H_
#endif // ATOM_COMMON_BROWSER_V8_LOCKER_H_