| Index: components/password_manager/core/browser/password_generation_manager_unittest.cc
|
| diff --git a/components/password_manager/core/browser/password_generation_manager_unittest.cc b/components/password_manager/core/browser/password_generation_manager_unittest.cc
|
| index f60a5ad785eac0e7370318740e92288bd78db990..5ba5134470c85d8971a656a20cab2aea071b841e 100644
|
| --- a/components/password_manager/core/browser/password_generation_manager_unittest.cc
|
| +++ b/components/password_manager/core/browser/password_generation_manager_unittest.cc
|
| @@ -38,18 +38,18 @@ class TestPasswordManagerDriver : public StubPasswordManagerDriver {
|
| virtual ~TestPasswordManagerDriver() {}
|
|
|
| // PasswordManagerDriver implementation.
|
| - virtual bool IsOffTheRecord() override { return is_off_the_record_; }
|
| - virtual PasswordGenerationManager* GetPasswordGenerationManager() override {
|
| + virtual bool IsOffTheRecord() OVERRIDE { return is_off_the_record_; }
|
| + virtual PasswordGenerationManager* GetPasswordGenerationManager() OVERRIDE {
|
| return &password_generation_manager_;
|
| }
|
| - virtual PasswordManager* GetPasswordManager() override {
|
| + virtual PasswordManager* GetPasswordManager() OVERRIDE {
|
| return &password_manager_;
|
| }
|
| - virtual PasswordAutofillManager* GetPasswordAutofillManager() override {
|
| + virtual PasswordAutofillManager* GetPasswordAutofillManager() OVERRIDE {
|
| return &password_autofill_manager_;
|
| }
|
| virtual void AccountCreationFormsFound(
|
| - const std::vector<autofill::FormData>& forms) override {
|
| + const std::vector<autofill::FormData>& forms) OVERRIDE {
|
| found_account_creation_forms_.insert(
|
| found_account_creation_forms_.begin(), forms.begin(), forms.end());
|
| }
|
| @@ -74,12 +74,12 @@ class TestPasswordManagerClient : public StubPasswordManagerClient {
|
| TestPasswordManagerClient(scoped_ptr<PrefService> prefs)
|
| : prefs_(prefs.Pass()), driver_(this), is_sync_enabled_(false) {}
|
|
|
| - virtual PasswordStore* GetPasswordStore() override { return NULL; }
|
| - virtual PrefService* GetPrefs() override { return prefs_.get(); }
|
| - virtual PasswordManagerDriver* GetDriver() override { return &driver_; }
|
| + virtual PasswordStore* GetPasswordStore() OVERRIDE { return NULL; }
|
| + virtual PrefService* GetPrefs() OVERRIDE { return prefs_.get(); }
|
| + virtual PasswordManagerDriver* GetDriver() OVERRIDE { return &driver_; }
|
| virtual void AuthenticateAutofillAndFillForm(
|
| - scoped_ptr<autofill::PasswordFormFillData> fill_data) override {}
|
| - virtual bool IsPasswordSyncEnabled() override { return is_sync_enabled_; }
|
| + scoped_ptr<autofill::PasswordFormFillData> fill_data) OVERRIDE {}
|
| + virtual bool IsPasswordSyncEnabled() OVERRIDE { return is_sync_enabled_; }
|
|
|
| void set_is_password_sync_enabled(bool enabled) {
|
| is_sync_enabled_ = enabled;
|
| @@ -104,7 +104,7 @@ class TestAutofillMetrics : public autofill::AutofillMetrics {
|
|
|
| class PasswordGenerationManagerTest : public testing::Test {
|
| protected:
|
| - virtual void SetUp() override {
|
| + virtual void SetUp() OVERRIDE {
|
| // Construct a PrefService and register all necessary prefs before handing
|
| // it off to |client_|, as the initialization flow of |client_| will
|
| // indirectly cause those prefs to be immediately accessed.
|
| @@ -114,7 +114,7 @@ class PasswordGenerationManagerTest : public testing::Test {
|
| client_.reset(new TestPasswordManagerClient(prefs.PassAs<PrefService>()));
|
| }
|
|
|
| - virtual void TearDown() override { client_.reset(); }
|
| + virtual void TearDown() OVERRIDE { client_.reset(); }
|
|
|
| PasswordGenerationManager* GetGenerationManager() {
|
| return client_->GetDriver()->GetPasswordGenerationManager();
|
|
|