Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(442)

Unified Diff: components/password_manager/core/browser/password_generation_manager_unittest.cc

Issue 900223005: [Clean up] Clean up some methods in PasswordManagerClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 54b478896249c03bca118cee23653c3471249459..01bb37772e93a135f32e61ac917ff091e7ac2be5 100644
--- a/components/password_manager/core/browser/password_generation_manager_unittest.cc
+++ b/components/password_manager/core/browser/password_generation_manager_unittest.cc
@@ -73,10 +73,10 @@ class TestPasswordManagerClient : public StubPasswordManagerClient {
~TestPasswordManagerClient() override { store_->Shutdown(); }
- bool IsOffTheRecord() override { return is_off_the_record_; }
- PasswordStore* GetPasswordStore() override { return store_.get(); }
+ bool IsOffTheRecord() const override { return is_off_the_record_; }
+ PasswordStore* GetPasswordStore() const override { return store_.get(); }
PrefService* GetPrefs() override { return prefs_.get(); }
- bool IsPasswordSyncEnabled(CustomPassphraseState state) override {
+ bool IsPasswordSyncEnabled(CustomPassphraseState state) const override {
return is_sync_enabled_;
}

Powered by Google App Engine
This is Rietveld 408576698