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

Side by Side Diff: chrome/common/pref_names.cc

Issue 10916235: Record policy usage statistics every 24 hours. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed compilation Created 8 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 unified diff | Download patch
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/tools/build/generate_policy_source.py » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 2026 matching lines...) Expand 10 before | Expand all | Expand 10 after
2037 const char kInManagedMode[] = "managed_mode"; 2037 const char kInManagedMode[] = "managed_mode";
2038 2038
2039 // Counts how many more times the 'profile on a network share' warning should be 2039 // Counts how many more times the 'profile on a network share' warning should be
2040 // shown to the user before the next silence period. 2040 // shown to the user before the next silence period.
2041 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; 2041 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left";
2042 // Tracks the time of the last shown warning. Used to reset 2042 // Tracks the time of the last shown warning. Used to reset
2043 // |network_profile.warnings_left| after a silence period. 2043 // |network_profile.warnings_left| after a silence period.
2044 const char kNetworkProfileLastWarningTime[] = 2044 const char kNetworkProfileLastWarningTime[] =
2045 "network_profile.last_warning_time"; 2045 "network_profile.last_warning_time";
2046 2046
2047 // 64-bit serialization of the time last policy usage statistics were collected
2048 // by UMA_HISTOGRAM_ENUMERATION.
2049 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update";
2050
2047 } // namespace prefs 2051 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/tools/build/generate_policy_source.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698