| Index: chrome/browser/chromeos/extensions/screenlock_private_api.h
|
| diff --git a/chrome/browser/chromeos/extensions/screenlock_private_api.h b/chrome/browser/chromeos/extensions/screenlock_private_api.h
|
| index 330812a6149295bc392675c61cbb97828aa4420a..679f34432648cd19874af4df05aee467c2220599 100644
|
| --- a/chrome/browser/chromeos/extensions/screenlock_private_api.h
|
| +++ b/chrome/browser/chromeos/extensions/screenlock_private_api.h
|
| @@ -9,6 +9,10 @@
|
| #include "chrome/browser/extensions/chrome_extension_function.h"
|
| #include "chromeos/dbus/session_manager_client.h"
|
|
|
| +namespace gfx {
|
| +class Image;
|
| +}
|
| +
|
| namespace extensions {
|
|
|
| class ScreenlockPrivateGetLockedFunction : public ChromeAsyncExtensionFunction {
|
| @@ -62,7 +66,7 @@ class ScreenlockPrivateEventRouter
|
| : public extensions::ProfileKeyedAPI,
|
| public chromeos::SessionManagerClient::Observer {
|
| public:
|
| - explicit ScreenlockPrivateEventRouter(Profile* profile);
|
| + explicit ScreenlockPrivateEventRouter(content::BrowserContext* context);
|
| virtual ~ScreenlockPrivateEventRouter();
|
|
|
| void OnButtonClicked();
|
| @@ -88,7 +92,7 @@ class ScreenlockPrivateEventRouter
|
|
|
| void DispatchEvent(const std::string& event_name, base::Value* arg);
|
|
|
| - Profile* profile_;
|
| + content::BrowserContext* browser_context_;
|
| DISALLOW_COPY_AND_ASSIGN(ScreenlockPrivateEventRouter);
|
| };
|
|
|
|
|