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

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

Issue 466723003: Supervised users: Add prefs for custodian profile URLs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // Stores the display name associated with the google account of the custodian 89 // Stores the display name associated with the google account of the custodian
90 // of the supervised user, updated (if possible) each time the supervised user 90 // of the supervised user, updated (if possible) each time the supervised user
91 // starts a session. 91 // starts a session.
92 const char kSupervisedUserCustodianName[] = "profile.managed.custodian_name"; 92 const char kSupervisedUserCustodianName[] = "profile.managed.custodian_name";
93 93
94 // Stores the URL of the profile image associated with the google account of the 94 // Stores the URL of the profile image associated with the google account of the
95 // custodian of the supervised user. 95 // custodian of the supervised user.
96 const char kSupervisedUserCustodianProfileImageURL[] = 96 const char kSupervisedUserCustodianProfileImageURL[] =
97 "profile.managed.custodian_profile_image_url"; 97 "profile.managed.custodian_profile_image_url";
98 98
99 // Stores the URL of the profile associated with the google account of the
100 // custodian of the supervised user.
101 const char kSupervisedUserCustodianProfileURL[] =
102 "profile.managed.custodian_profile_url";
103
99 // Maps host names to whether the host is manually allowed or blocked. 104 // Maps host names to whether the host is manually allowed or blocked.
100 const char kSupervisedUserManualHosts[] = "profile.managed.manual_hosts"; 105 const char kSupervisedUserManualHosts[] = "profile.managed.manual_hosts";
101 106
102 // Maps URLs to whether the URL is manually allowed or blocked. 107 // Maps URLs to whether the URL is manually allowed or blocked.
103 const char kSupervisedUserManualURLs[] = "profile.managed.manual_urls"; 108 const char kSupervisedUserManualURLs[] = "profile.managed.manual_urls";
104 109
105 // Stores the email address associated with the google account of the secondary 110 // Stores the email address associated with the google account of the secondary
106 // custodian of the supervised user, set when the supervised user is created. 111 // custodian of the supervised user, set when the supervised user is created.
107 const char kSupervisedUserSecondCustodianEmail[] = 112 const char kSupervisedUserSecondCustodianEmail[] =
108 "profile.managed.second_custodian_email"; 113 "profile.managed.second_custodian_email";
109 114
110 // Stores the display name associated with the google account of the secondary 115 // Stores the display name associated with the google account of the secondary
111 // custodian of the supervised user, updated (if possible) each time the 116 // custodian of the supervised user, updated (if possible) each time the
112 // supervised user starts a session. 117 // supervised user starts a session.
113 const char kSupervisedUserSecondCustodianName[] = 118 const char kSupervisedUserSecondCustodianName[] =
114 "profile.managed.second_custodian_name"; 119 "profile.managed.second_custodian_name";
115 120
116 // Stores the URL of the profile image associated with the google account of the 121 // Stores the URL of the profile image associated with the google account of the
117 // secondary custodian of the supervised user. 122 // secondary custodian of the supervised user.
118 const char kSupervisedUserSecondCustodianProfileImageURL[] = 123 const char kSupervisedUserSecondCustodianProfileImageURL[] =
119 "profile.managed.second_custodian_profile_image_url"; 124 "profile.managed.second_custodian_profile_image_url";
120 125
126 // Stores the URL of the profile associated with the google account of the
127 // secondary custodian of the supervised user.
128 const char kSupervisedUserSecondCustodianProfileURL[] =
129 "profile.managed.second_custodian_profile_url";
130
121 // Stores settings that can be modified both by a supervised user and their 131 // Stores settings that can be modified both by a supervised user and their
122 // manager. See SupervisedUserSharedSettingsService for a description of 132 // manager. See SupervisedUserSharedSettingsService for a description of
123 // the format. 133 // the format.
124 const char kSupervisedUserSharedSettings[] = "profile.managed.shared_settings"; 134 const char kSupervisedUserSharedSettings[] = "profile.managed.shared_settings";
125 135
126 // The application locale. 136 // The application locale.
127 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state 137 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state
128 // and user's profile. Global property determines locale of login screen, 138 // and user's profile. Global property determines locale of login screen,
129 // while user's profile determines his personal locale preference. 139 // while user's profile determines his personal locale preference.
130 const char kApplicationLocale[] = "intl.app_locale"; 140 const char kApplicationLocale[] = "intl.app_locale";
(...skipping 2185 matching lines...) Expand 10 before | Expand all | Expand 10 after
2316 // "mapped_title" entries, detailing the bookmark target URL (if any), the title 2326 // "mapped_title" entries, detailing the bookmark target URL (if any), the title
2317 // given by the PartnerBookmarksProvider and either the user-visible renamed 2327 // given by the PartnerBookmarksProvider and either the user-visible renamed
2318 // title or an empty string if the bookmark node was removed. 2328 // title or an empty string if the bookmark node was removed.
2319 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; 2329 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings";
2320 #endif 2330 #endif
2321 2331
2322 // Whether DNS Quick Check is disabled in proxy resolution. 2332 // Whether DNS Quick Check is disabled in proxy resolution.
2323 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2333 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2324 2334
2325 } // namespace prefs 2335 } // 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