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

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

Issue 633233002: Lock only permitted where a supervised user is or was. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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') | no next file » | 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 #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 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after
1178 // 0: Allow (does nothing) 1178 // 0: Allow (does nothing)
1179 // 1: Warn. 1179 // 1: Warn.
1180 // 2: Block. 1180 // 2: Block.
1181 const char kDefaultSupervisedUserFilteringBehavior[] = 1181 const char kDefaultSupervisedUserFilteringBehavior[] =
1182 "profile.managed.default_filtering_behavior"; 1182 "profile.managed.default_filtering_behavior";
1183 1183
1184 // Whether this user is permitted to create supervised users. 1184 // Whether this user is permitted to create supervised users.
1185 const char kSupervisedUserCreationAllowed[] = 1185 const char kSupervisedUserCreationAllowed[] =
1186 "profile.managed_user_creation_allowed"; 1186 "profile.managed_user_creation_allowed";
1187 1187
1188 // Whether this browser has or hadat least one supervised user.
noms (inactive) 2014/10/08 14:31:51 nit: typo
Mike Lerman 2014/10/10 18:25:54 Thi code is removed.
1189 const char kSupervisedUserExistsOrExisted[] =
1190 "profile.managed_user_exists_or_existed";
1191
1188 // List pref containing the users supervised by this user. 1192 // List pref containing the users supervised by this user.
1189 const char kSupervisedUsers[] = "profile.managed_users"; 1193 const char kSupervisedUsers[] = "profile.managed_users";
1190 1194
1191 // String that indicates that the profile reset prompt has already been shown to 1195 // String that indicates that the profile reset prompt has already been shown to
1192 // the user (profile). 1196 // the user (profile).
1193 const char kProfileResetPromptMementoInProfilePrefs[] = 1197 const char kProfileResetPromptMementoInProfilePrefs[] =
1194 "profile.reset_prompt_memento"; 1198 "profile.reset_prompt_memento";
1195 1199
1196 // List pref containing the extension ids which are not allowed to send 1200 // List pref containing the extension ids which are not allowed to send
1197 // notifications to the message center. 1201 // notifications to the message center.
(...skipping 1137 matching lines...) Expand 10 before | Expand all | Expand 10 after
2335 // Whether Guest Mode is enabled within the browser. 2339 // Whether Guest Mode is enabled within the browser.
2336 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; 2340 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled";
2337 2341
2338 // Whether Adding a new Person is enabled within the user manager. 2342 // Whether Adding a new Person is enabled within the user manager.
2339 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; 2343 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled";
2340 2344
2341 // A dictionary that maps user id to hardlock state. 2345 // A dictionary that maps user id to hardlock state.
2342 const char kEasyUnlockHardlockState[] = "easy_unlock.hardlock_state"; 2346 const char kEasyUnlockHardlockState[] = "easy_unlock.hardlock_state";
2343 2347
2344 } // namespace prefs 2348 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698