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

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

Issue 845313008: Refactored device status uploading out of policy fetch infrastructure. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added tests, fixed existing tests. Created 5 years, 11 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 (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 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 2031 matching lines...) Expand 10 before | Expand all | Expand 10 after
2042 2042
2043 // Whether user-specified handlers for protocols and content types can be 2043 // Whether user-specified handlers for protocols and content types can be
2044 // specified. 2044 // specified.
2045 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 2045 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
2046 2046
2047 // Integer that specifies the policy refresh rate for device-policy in 2047 // Integer that specifies the policy refresh rate for device-policy in
2048 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 2048 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
2049 // by the cloud policy subsystem. 2049 // by the cloud policy subsystem.
2050 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 2050 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
2051 2051
2052 // Integer that specifies the upload rate for device and session status in
2053 // milliseconds.
2054 const char kDeviceStatusUploadRate[] = "policy.status_upload_rate";
2055
2052 // A boolean where true means that the browser has previously attempted to 2056 // A boolean where true means that the browser has previously attempted to
2053 // enable autoupdate and failed, so the next out-of-date browser start should 2057 // enable autoupdate and failed, so the next out-of-date browser start should
2054 // not prompt the user to enable autoupdate, it should offer to reinstall Chrome 2058 // not prompt the user to enable autoupdate, it should offer to reinstall Chrome
2055 // instead. 2059 // instead.
2056 const char kAttemptedToEnableAutoupdate[] = 2060 const char kAttemptedToEnableAutoupdate[] =
2057 "browser.attempted_to_enable_autoupdate"; 2061 "browser.attempted_to_enable_autoupdate";
2058 2062
2059 // The next media gallery ID to assign. 2063 // The next media gallery ID to assign.
2060 const char kMediaGalleriesUniqueId[] = "media_galleries.gallery_id"; 2064 const char kMediaGalleriesUniqueId[] = "media_galleries.gallery_id";
2061 2065
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
2255 const char kPasswordBubbleNopesCount[] = "password_bubble.nopes"; 2259 const char kPasswordBubbleNopesCount[] = "password_bubble.nopes";
2256 2260
2257 // Last user's interaction with the password bubble. 2261 // Last user's interaction with the password bubble.
2258 const char kPasswordBubbleLastInteractions[] = "password_bubble.interactions"; 2262 const char kPasswordBubbleLastInteractions[] = "password_bubble.interactions";
2259 2263
2260 // Boolean that indicates whether elevation is needed to recover Chrome upgrade. 2264 // Boolean that indicates whether elevation is needed to recover Chrome upgrade.
2261 const char kRecoveryComponentNeedsElevation[] = 2265 const char kRecoveryComponentNeedsElevation[] =
2262 "recovery_component.needs_elevation"; 2266 "recovery_component.needs_elevation";
2263 2267
2264 } // namespace prefs 2268 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698