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

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

Issue 644053003: [Password Manager] Add UMA stats for custom passphrase users. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 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 917f50241c2f9fc1af50d28446563f991ae384bf..66b2274fa57164efbb81b4d737a8ef5fe0acf38e 100644
--- a/components/password_manager/core/browser/password_generation_manager_unittest.cc
+++ b/components/password_manager/core/browser/password_generation_manager_unittest.cc
@@ -77,7 +77,9 @@ class TestPasswordManagerClient : public StubPasswordManagerClient {
virtual PasswordStore* GetPasswordStore() override { return NULL; }
virtual PrefService* GetPrefs() override { return prefs_.get(); }
virtual PasswordManagerDriver* GetDriver() override { return &driver_; }
- virtual bool IsPasswordSyncEnabled() override { return is_sync_enabled_; }
+ virtual bool IsPasswordSyncEnabled(CustomPassphraseState state) override {
+ return is_sync_enabled_;
+ }
void set_is_password_sync_enabled(bool enabled) {
is_sync_enabled_ = enabled;

Powered by Google App Engine
This is Rietveld 408576698