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

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: Add tests and link UpdateLogin to kSigninAllowed pref. 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 1684 matching lines...) Expand 10 before | Expand all | Expand 10 after
1695 const char kSyncSearchEngines[] = "sync.search_engines"; 1695 const char kSyncSearchEngines[] = "sync.search_engines";
1696 const char kSyncSessions[] = "sync.sessions"; 1696 const char kSyncSessions[] = "sync.sessions";
1697 const char kSyncHistoryDeleteDirectives[] = "sync.history_delete_directives"; 1697 const char kSyncHistoryDeleteDirectives[] = "sync.history_delete_directives";
1698 const char kSyncSyncedNotifications[] = "sync.synced_notifications"; 1698 const char kSyncSyncedNotifications[] = "sync.synced_notifications";
1699 const char kSyncDictionary[] = "sync.dictionary"; 1699 const char kSyncDictionary[] = "sync.dictionary";
1700 1700
1701 // Boolean used by enterprise configuration management in order to lock down 1701 // Boolean used by enterprise configuration management in order to lock down
1702 // sync. 1702 // sync.
1703 const char kSyncManaged[] = "sync.managed"; 1703 const char kSyncManaged[] = "sync.managed";
1704 1704
1705 // Boolean which stores if the user is allowed to signin to chrome.
1706 const char kSigninAllowed[] = "signin.allowed";
1707
1705 // Boolean to prevent sync from automatically starting up. This is 1708 // Boolean to prevent sync from automatically starting up. This is
1706 // used when sync is disabled by the user via the privacy dashboard. 1709 // used when sync is disabled by the user via the privacy dashboard.
1707 const char kSyncSuppressStart[] = "sync.suppress_start"; 1710 const char kSyncSuppressStart[] = "sync.suppress_start";
1708 1711
1709 // List of the currently acknowledged set of sync types, used to figure out 1712 // List of the currently acknowledged set of sync types, used to figure out
1710 // if a new sync type has rolled out so we can notify the user. 1713 // if a new sync type has rolled out so we can notify the user.
1711 const char kSyncAcknowledgedSyncTypes[] = "sync.acknowledged_types"; 1714 const char kSyncAcknowledgedSyncTypes[] = "sync.acknowledged_types";
1712 1715
1713 // Dictionary from sync model type (as an int) to max invalidation 1716 // Dictionary from sync model type (as an int) to max invalidation
1714 // version (int64 represented as a string). 1717 // version (int64 represented as a string).
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
2240 const char kRLZDisabled[] = "rlz.disabled"; 2243 const char kRLZDisabled[] = "rlz.disabled";
2241 #endif 2244 #endif
2242 2245
2243 #if defined(ENABLE_APP_LIST) 2246 #if defined(ENABLE_APP_LIST)
2244 // The directory in user data dir that contains the profile to be used with the 2247 // The directory in user data dir that contains the profile to be used with the
2245 // app launcher. 2248 // app launcher.
2246 extern const char kAppListProfile[] = "app_list.profile"; 2249 extern const char kAppListProfile[] = "app_list.profile";
2247 #endif 2250 #endif
2248 2251
2249 } // namespace prefs 2252 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698