| Index: chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc
|
| diff --git a/chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc b/chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc
|
| index d68407f94ea2d6c053197e1e4667917a7c2afa84..535742bcaec2f4d1cc1f5c03b7d574449d2058e4 100644
|
| --- a/chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc
|
| +++ b/chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc
|
| @@ -32,7 +32,7 @@ class ScreenlockPrivateApiTest : public ExtensionApiTest,
|
| virtual ~ScreenlockPrivateApiTest() {}
|
|
|
| // ExtensionApiTest
|
| - virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
|
| + virtual void SetUpCommandLine(CommandLine* command_line) override {
|
| ExtensionApiTest::SetUpCommandLine(command_line);
|
| command_line->AppendSwitchASCII(
|
| extensions::switches::kWhitelistedExtensionID, kTestExtensionId);
|
| @@ -43,7 +43,7 @@ class ScreenlockPrivateApiTest : public ExtensionApiTest,
|
| #endif
|
| }
|
|
|
| - virtual void SetUpOnMainThread() OVERRIDE {
|
| + virtual void SetUpOnMainThread() override {
|
| SigninManagerFactory::GetForProfile(profile())
|
| ->SetAuthenticatedUsername(kTestUser);
|
| ExtensionApiTest::SetUpOnMainThread();
|
| @@ -51,7 +51,7 @@ class ScreenlockPrivateApiTest : public ExtensionApiTest,
|
|
|
| protected:
|
| // ExtensionApiTest override:
|
| - virtual void RunTestOnMainThreadLoop() OVERRIDE {
|
| + virtual void RunTestOnMainThreadLoop() override {
|
| registrar_.Add(this,
|
| extensions::NOTIFICATION_EXTENSION_TEST_MESSAGE,
|
| content::NotificationService::AllSources());
|
| @@ -62,7 +62,7 @@ class ScreenlockPrivateApiTest : public ExtensionApiTest,
|
| // content::NotificationObserver override:
|
| virtual void Observe(int type,
|
| const content::NotificationSource& source,
|
| - const content::NotificationDetails& details) OVERRIDE {
|
| + const content::NotificationDetails& details) override {
|
| const std::string& content = *content::Details<std::string>(details).ptr();
|
| if (content == kAttemptClickAuthMessage) {
|
| ScreenlockBridge::Get()->lock_handler()->SetAuthType(
|
|
|