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

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

Issue 10693022: Add support for loading user cloud policy on desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweaked some comments after self-review. Created 8 years, 4 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 | Annotate | Revision Log
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 1911 matching lines...) Expand 10 before | Expand all | Expand 10 after
1922 // Whether user-specified handlers for protocols and content types can be 1922 // Whether user-specified handlers for protocols and content types can be
1923 // specified. 1923 // specified.
1924 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1924 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1925 1925
1926 // Integers that specify the policy refresh rate for device- and user-policy in 1926 // Integers that specify the policy refresh rate for device- and user-policy in
1927 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 1927 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
1928 // by the cloud policy subsystem. 1928 // by the cloud policy subsystem.
1929 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 1929 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
1930 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; 1930 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
1931 1931
1932 // If true, cloud policy for the user is loaded once the user signs in.
1933 const char kLoadCloudPolicyOnSignin[] = "policy.load_cloud_policy_on_signin";
Mattias Nissler (ping if slow) 2012/08/03 12:19:08 This (and the two above) doesn't belong here (this
Andrew T Wilson (Slow) 2012/08/04 00:54:41 Done. I didn't even realize there were different s
Mattias Nissler (ping if slow) 2012/08/06 08:33:52 It doesn't, they're in the wrong location, and it
1934
1932 // String that represents the recovery component last downloaded version. This 1935 // String that represents the recovery component last downloaded version. This
1933 // takes the usual 'a.b.c.d' notation. 1936 // takes the usual 'a.b.c.d' notation.
1934 const char kRecoveryComponentVersion[] = "recovery_component.version"; 1937 const char kRecoveryComponentVersion[] = "recovery_component.version";
1935 1938
1936 // String that stores the component updater last known state. This is used for 1939 // String that stores the component updater last known state. This is used for
1937 // troubleshooting. 1940 // troubleshooting.
1938 const char kComponentUpdaterState[] = "component_updater.state"; 1941 const char kComponentUpdaterState[] = "component_updater.state";
1939 1942
1940 // Boolean that is true if Web Intents is enabled. 1943 // Boolean that is true if Web Intents is enabled.
1941 const char kWebIntentsEnabled[] = "webintents.enabled"; 1944 const char kWebIntentsEnabled[] = "webintents.enabled";
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
2008 const char kNetworkProfileLastWarningTime[] = 2011 const char kNetworkProfileLastWarningTime[] =
2009 "network_profile.last_warning_time"; 2012 "network_profile.last_warning_time";
2010 2013
2011 #if defined(OS_MACOSX) 2014 #if defined(OS_MACOSX)
2012 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. 2015 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5.
2013 const char kMacLeopardObsoleteInfobarLastShown[] = 2016 const char kMacLeopardObsoleteInfobarLastShown[] =
2014 "mac_105_obsolete_infobar_last_shown"; 2017 "mac_105_obsolete_infobar_last_shown";
2015 #endif // defined(OS_MACOSX) 2018 #endif // defined(OS_MACOSX)
2016 2019
2017 } // namespace prefs 2020 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698