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

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

Issue 12088040: Add a SigninAllowed policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use the IsSyncAccessible method to propagate the settings. Created 7 years, 10 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 19 matching lines...) Expand all
30 // Did the user change the home page after install? 30 // Did the user change the home page after install?
31 const char kHomePageChanged[] = "homepage_changed"; 31 const char kHomePageChanged[] = "homepage_changed";
32 32
33 // Does this user have a Google+ Profile? 33 // Does this user have a Google+ Profile?
34 const char kIsGooglePlusUser[] = "is_google_plus_user"; 34 const char kIsGooglePlusUser[] = "is_google_plus_user";
35 35
36 // List of pages that are manually approved. 36 // List of pages that are manually approved.
37 const char kManagedModeWhitelist[] = "profile.managed.whitelist"; 37 const char kManagedModeWhitelist[] = "profile.managed.whitelist";
38 // List of pages that are manually blocked. 38 // List of pages that are manually blocked.
39 const char kManagedModeBlacklist[] = "profile.managed.blacklist"; 39 const char kManagedModeBlacklist[] = "profile.managed.blacklist";
40 // Boolean which stores if the managed user is not allowed to signin to chrome.
41 const char kManagedUserNoSignin[] = "profile.managed.no_signin";
40 42
41 // Used to determine if the last session exited cleanly. Set to false when 43 // Used to determine if the last session exited cleanly. Set to false when
42 // first opened, and to true when closing. On startup if the value is false, 44 // first opened, and to true when closing. On startup if the value is false,
43 // it means the profile didn't exit cleanly. 45 // it means the profile didn't exit cleanly.
44 // DEPRECATED: this is replaced by kSessionExitType and exists for backwards 46 // DEPRECATED: this is replaced by kSessionExitType and exists for backwards
45 // compatability. 47 // compatability.
46 const char kSessionExitedCleanly[] = "profile.exited_cleanly"; 48 const char kSessionExitedCleanly[] = "profile.exited_cleanly";
47 49
48 // A string pref whose values is one of the values defined by 50 // A string pref whose values is one of the values defined by
49 // |ProfileImpl::kPrefExitTypeXXX|. Set to |kPrefExitTypeCrashed| on startup and 51 // |ProfileImpl::kPrefExitTypeXXX|. Set to |kPrefExitTypeCrashed| on startup and
(...skipping 2184 matching lines...) Expand 10 before | Expand all | Expand 10 after
2234 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; 2236 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update";
2235 2237
2236 #if defined(OS_CHROMEOS) 2238 #if defined(OS_CHROMEOS)
2237 // The RLZ brand code, if enabled. 2239 // The RLZ brand code, if enabled.
2238 const char kRLZBrand[] = "rlz.brand"; 2240 const char kRLZBrand[] = "rlz.brand";
2239 // Whether RLZ pings are disabled. 2241 // Whether RLZ pings are disabled.
2240 const char kRLZDisabled[] = "rlz.disabled"; 2242 const char kRLZDisabled[] = "rlz.disabled";
2241 #endif 2243 #endif
2242 2244
2243 } // namespace prefs 2245 } // namespace prefs
OLDNEW
« chrome/browser/profiles/profile.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698