| 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 535742bcaec2f4d1cc1f5c03b7d574449d2058e4..93d99ae4b6e4d041e651b2cffdeed42902558987 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 {
|
| + 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 {
|
| + 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 {
|
| + void RunTestOnMainThreadLoop() override {
|
| registrar_.Add(this,
|
| extensions::NOTIFICATION_EXTENSION_TEST_MESSAGE,
|
| content::NotificationService::AllSources());
|
| @@ -60,9 +60,9 @@ class ScreenlockPrivateApiTest : public ExtensionApiTest,
|
| }
|
|
|
| // content::NotificationObserver override:
|
| - virtual void Observe(int type,
|
| - const content::NotificationSource& source,
|
| - const content::NotificationDetails& details) override {
|
| + void Observe(int type,
|
| + const content::NotificationSource& source,
|
| + const content::NotificationDetails& details) override {
|
| const std::string& content = *content::Details<std::string>(details).ptr();
|
| if (content == kAttemptClickAuthMessage) {
|
| ScreenlockBridge::Get()->lock_handler()->SetAuthType(
|
|
|