Index: chrome/browser/password_manager/password_generation_interactive_uitest.cc |
diff --git a/chrome/browser/password_manager/password_generation_interactive_uitest.cc b/chrome/browser/password_manager/password_generation_interactive_uitest.cc |
index 97458e3c591cf2866467adb31abb36a1ef4a1420..76bda7d5bc3e1ed256ba9aa602236746168c866d 100644 |
--- a/chrome/browser/password_manager/password_generation_interactive_uitest.cc |
+++ b/chrome/browser/password_manager/password_generation_interactive_uitest.cc |
@@ -29,14 +29,12 @@ class TestPopupObserver : public autofill::PasswordGenerationPopupObserver { |
password_visible_(false) {} |
virtual ~TestPopupObserver() {} |
- virtual void OnPopupShown(bool password_visible) override { |
+ void OnPopupShown(bool password_visible) override { |
popup_showing_ = true; |
password_visible_ = password_visible; |
} |
- virtual void OnPopupHidden() override { |
- popup_showing_ = false; |
- } |
+ void OnPopupHidden() override { popup_showing_ = false; } |
bool popup_showing() { return popup_showing_; } |
bool password_visible() { return password_visible_; } |
@@ -50,7 +48,7 @@ class TestPopupObserver : public autofill::PasswordGenerationPopupObserver { |
class PasswordGenerationInteractiveTest : public InProcessBrowserTest { |
public: |
- virtual void SetUpCommandLine(CommandLine* command_line) override { |
+ void SetUpCommandLine(CommandLine* command_line) override { |
// Make sure the feature is enabled. |
command_line->AppendSwitch(autofill::switches::kEnablePasswordGeneration); |
@@ -59,7 +57,7 @@ class PasswordGenerationInteractiveTest : public InProcessBrowserTest { |
autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration); |
} |
- virtual void SetUpOnMainThread() override { |
+ void SetUpOnMainThread() override { |
// Disable Autofill requesting access to AddressBook data. This will cause |
// the tests to hang on Mac. |
autofill::test::DisableSystemServices(browser()->profile()->GetPrefs()); |
@@ -74,7 +72,7 @@ class PasswordGenerationInteractiveTest : public InProcessBrowserTest { |
ui_test_utils::NavigateToURL(browser(), url); |
} |
- virtual void TearDownOnMainThread() override { |
+ void TearDownOnMainThread() override { |
// Clean up UI. |
ChromePasswordManagerClient* client = |
ChromePasswordManagerClient::FromWebContents(GetWebContents()); |