| Index: chrome/browser/extensions/api/screenlock_private/screenlock_private_api.h
|
| diff --git a/chrome/browser/extensions/api/screenlock_private/screenlock_private_api.h b/chrome/browser/extensions/api/screenlock_private/screenlock_private_api.h
|
| index b4f3b3e3ba989ddc2fd428584f070cb3fec6811b..dbdf8f472c3c96a79a9f6b4e71ba0bf810dc8e88 100644
|
| --- a/chrome/browser/extensions/api/screenlock_private/screenlock_private_api.h
|
| +++ b/chrome/browser/extensions/api/screenlock_private/screenlock_private_api.h
|
| @@ -38,12 +38,12 @@ class ScreenlockPrivateSetLockedFunction : public ChromeAsyncExtensionFunction {
|
| };
|
|
|
| class ScreenlockPrivateAcceptAuthAttemptFunction
|
| - : public ChromeAsyncExtensionFunction {
|
| + : public ChromeSyncExtensionFunction {
|
| public:
|
| DECLARE_EXTENSION_FUNCTION("screenlockPrivate.acceptAuthAttempt",
|
| SCREENLOCKPRIVATE_ACCEPTAUTHATTEMPT)
|
| ScreenlockPrivateAcceptAuthAttemptFunction();
|
| - virtual bool RunAsync() OVERRIDE;
|
| + virtual bool RunSync() OVERRIDE;
|
|
|
| private:
|
| virtual ~ScreenlockPrivateAcceptAuthAttemptFunction();
|
| @@ -56,7 +56,7 @@ class ScreenlockPrivateEventRouter : public extensions::BrowserContextKeyedAPI,
|
| explicit ScreenlockPrivateEventRouter(content::BrowserContext* context);
|
| virtual ~ScreenlockPrivateEventRouter();
|
|
|
| - void OnAuthAttempted(ScreenlockBridge::LockHandler::AuthType auth_type,
|
| + bool OnAuthAttempted(ScreenlockBridge::LockHandler::AuthType auth_type,
|
| const std::string& value);
|
|
|
| // BrowserContextKeyedAPI
|
|
|