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

Unified Diff: components/user_prefs/tracked/pref_names.h

Issue 1519043002: Putting histogram names of tracked prefs in tracked_preference_histogram_name file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « chrome/browser/prefs/tracked/pref_hash_browsertest.cc ('k') | components/user_prefs/tracked/pref_names.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/user_prefs/tracked/pref_names.h
diff --git a/components/user_prefs/tracked/pref_names.h b/components/user_prefs/tracked/pref_names.h
index 80aa6bf5d0739ff1897864911f591fad2a8f6033..e7fa27d5d0376653145ca32bf2e041324d8800d7 100644
--- a/components/user_prefs/tracked/pref_names.h
+++ b/components/user_prefs/tracked/pref_names.h
@@ -11,4 +11,18 @@ extern const char kPreferenceResetTime[];
} // namespace user_prefs
+namespace user_tracked_prefs {
Bernhard Bauer 2015/12/11 14:11:44 Why not make this an inner namespace user_prefs::t
Deepak 2015/12/14 03:53:45 Now making separate file for these names.
+
+extern const char kTrackedPreferenceUnchanged[];
+extern const char kTrackedPreferenceCleared[];
+extern const char kTrackedPreferenceMigratedLegacyDeviceId[];
+extern const char kTrackedPreferenceChanged[];
+extern const char kTrackedPreferenceInitialized[];
+extern const char kTrackedPreferenceTrustedInitialized[];
+extern const char kTrackedPreferenceNullInitialized[];
+extern const char kTrackedPreferenceWantedReset[];
+extern const char kTrackedPreferenceReset[];
+extern const char kTrackedSplitPreferenceChanged[];
Bernhard Bauer 2015/12/11 14:11:44 These strings aren't actually pref names, they are
Deepak 2015/12/14 03:53:45 Done.
+} // namespace user_prefs
Bernhard Bauer 2015/12/11 14:11:44 Nit: empty line before.
Deepak 2015/12/14 03:53:45 Done.
+
#endif // COMPONENTS_USER_PREFS_TRACKED_PREF_NAMES_H_
« no previous file with comments | « chrome/browser/prefs/tracked/pref_hash_browsertest.cc ('k') | components/user_prefs/tracked/pref_names.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698