| Index: chrome/browser/chromeos/power/screen_lock_observer.h
|
| diff --git a/chrome/browser/chromeos/power/screen_lock_observer.h b/chrome/browser/chromeos/power/screen_lock_observer.h
|
| index 1079e313256a7cb9729425d9d00f5bc82b8cc321..cf9da636a70a0858412969f48a185b22521139ab 100644
|
| --- a/chrome/browser/chromeos/power/screen_lock_observer.h
|
| +++ b/chrome/browser/chromeos/power/screen_lock_observer.h
|
| @@ -9,6 +9,8 @@
|
| #include "base/compiler_specific.h"
|
| #include "chromeos/dbus/session_manager_client.h"
|
|
|
| +class Profile;
|
| +
|
| namespace chromeos {
|
|
|
| // A class to observe screen lock events and dispatch onScreenUnlocked extension
|
| @@ -16,12 +18,14 @@ namespace chromeos {
|
| class ScreenLockObserver : public SessionManagerClient::Observer {
|
| public:
|
| // This class registers/unregisters itself as an observer in ctor/dtor.
|
| - ScreenLockObserver();
|
| + explicit ScreenLockObserver(Profile* profile);
|
| virtual ~ScreenLockObserver();
|
|
|
| // SessionManagerClient::Observer override.
|
| virtual void UnlockScreen() OVERRIDE;
|
| private:
|
| + Profile* profile_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ScreenLockObserver);
|
| };
|
|
|
|
|