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

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
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 kSyncMemoryPressureReceivings[] = "sync.memory_warning_receivings";
stanisc 2015/05/15 20:31:04 Consider naming it kSyncMemoryPressureWarningCount
Gang Wu 2015/05/15 21:13:47 Done.
106
107 // Stores if sync shutdown correctly (not crash)
108 const char kSyncShutdownUnnormal[] = "sync.shutdown_forced";
stanisc 2015/05/15 20:31:04 So why it is abnormal if it didn't crash. Please c
Gang Wu 2015/05/15 21:13:47 Done.
109
104 } // namespace prefs 110 } // namespace prefs
105 111
106 } // namespace sync_driver 112 } // namespace sync_driver
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698