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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/sync_driver/pref_names.h" 5 #include "components/sync_driver/pref_names.h"
6 6
7 namespace sync_driver { 7 namespace sync_driver {
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 const char kSyncRemainingRollbackTries[] = "sync.remaining_rollback_tries"; 94 const char kSyncRemainingRollbackTries[] = "sync.remaining_rollback_tries";
95 95
96 // Stores the timestamp of first sync. 96 // Stores the timestamp of first sync.
97 const char kSyncFirstSyncTime[] = "sync.first_sync_time"; 97 const char kSyncFirstSyncTime[] = "sync.first_sync_time";
98 98
99 // Stores whether a platform specific passphrase error prompt has been shown to 99 // Stores whether a platform specific passphrase error prompt has been shown to
100 // the user (e.g. an Android system notification). Used for out of band prompts 100 // the user (e.g. an Android system notification). Used for out of band prompts
101 // that we only want to use once. 101 // that we only want to use once.
102 const char kSyncPassphrasePrompted[] = "sync.passphrase_prompted"; 102 const char kSyncPassphrasePrompted[] = "sync.passphrase_prompted";
103 103
104 // Stores how many times received MEMORY_PRESSURE_LEVEL_CRITICAL.
105 const char kSyncMemoryPressureWarningCount[] = "sync.memory_warning_count";
106
107 // Stores if sync shutdown cleanly.
108 const char kSyncShutdownCleanly[] = "sync.shutdown_cleanly";
109
104 } // namespace prefs 110 } // namespace prefs
105 111
106 } // namespace sync_driver 112 } // namespace sync_driver
OLDNEW
« 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