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

Unified Diff: chrome/browser/password_manager/password_manager_setting_migrator_service.h

Issue 1356573002: [Smart Lock, Settings Reconciliation] Histograms for tracking initial pref values. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@reconcile
Patch Set: Created 5 years, 3 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: chrome/browser/password_manager/password_manager_setting_migrator_service.h
diff --git a/chrome/browser/password_manager/password_manager_setting_migrator_service.h b/chrome/browser/password_manager/password_manager_setting_migrator_service.h
index 3399b85035b04c692d5e120d8b29b9381b0311e7..e956f7ddc2b462a3ccc69ffa5efbff0002346ed5 100644
--- a/chrome/browser/password_manager/password_manager_setting_migrator_service.h
+++ b/chrome/browser/password_manager/password_manager_setting_migrator_service.h
@@ -21,6 +21,16 @@ namespace sync_driver {
class SyncService;
}
+// Enum used for histogram tracking of the initial values for the legacy and new
+// preferences.
+enum PasswordManagerPreferencesInitialValues {
engedy 2015/09/24 14:26:18 What do you think about not defining this enum her
melandory 2015/09/28 07:10:12 Sure, I thought that enum is clearer, but it sound
+ N0L0,
+ N0L1,
+ N1L0,
+ N1L1,
+ NUM_INITIAL_VALUES,
+};
+
// Service that is responsible for reconciling the legacy "Offer to save your
// web passwords" setting (henceforth denoted 'L', for legacy) with the new
// "Enable Smart Lock for Passwords" setting (henceforth denoted 'N', for new).

Powered by Google App Engine
This is Rietveld 408576698