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

Unified Diff: components/sync_driver/pref_names.cc

Issue 1136763004: Add UMA data for memory pressure warning received for sync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « components/sync_driver/pref_names.h ('k') | components/sync_driver/sync_prefs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver/pref_names.cc
diff --git a/components/sync_driver/pref_names.cc b/components/sync_driver/pref_names.cc
index b167a0b4165b3164a41e55edbde2a80cff0473d3..6a575788d7316c23a3acf48036ca3841a58cafb6 100644
--- a/components/sync_driver/pref_names.cc
+++ b/components/sync_driver/pref_names.cc
@@ -101,6 +101,12 @@ const char kSyncFirstSyncTime[] = "sync.first_sync_time";
// that we only want to use once.
const char kSyncPassphrasePrompted[] = "sync.passphrase_prompted";
+// Stores how many times received MEMORY_PRESSURE_LEVEL_CRITICAL.
+const char kSyncMemoryPressureWarningCount[] = "sync.memory_warning_count";
+
+// Stores if sync shutdown cleanly.
+const char kSyncShutdownCleanly[] = "sync.shutdown_cleanly";
+
} // namespace prefs
} // namespace sync_driver
« no previous file with comments | « components/sync_driver/pref_names.h ('k') | components/sync_driver/sync_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698