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

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

Issue 6279012: Implement pref policy for disabling incognito mode.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 namespace prefs { 7 namespace prefs {
8 8
9 // *************** PROFILE PREFS *************** 9 // *************** PROFILE PREFS ***************
10 // These are attached to the user profile 10 // These are attached to the user profile
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 // by kAutoFillEnabled. 151 // by kAutoFillEnabled.
152 const char kFormAutofillEnabled[] = "profile.form_autofill_enabled"; 152 const char kFormAutofillEnabled[] = "profile.form_autofill_enabled";
153 153
154 // Boolean that is true when SafeBrowsing is enabled. 154 // Boolean that is true when SafeBrowsing is enabled.
155 const char kSafeBrowsingEnabled[] = "safebrowsing.enabled"; 155 const char kSafeBrowsingEnabled[] = "safebrowsing.enabled";
156 156
157 // Boolean that is true when SafeBrowsing Malware Report is enabled. 157 // Boolean that is true when SafeBrowsing Malware Report is enabled.
158 const char kSafeBrowsingReportingEnabled[] = 158 const char kSafeBrowsingReportingEnabled[] =
159 "safebrowsing.reporting_enabled"; 159 "safebrowsing.reporting_enabled";
160 160
161 // Boolean that is true when Incognito support is enabled.
162 const char kIncognitoEnabled[] = "incognito.enabled";
163
161 // Boolean that is true when Suggest support is enabled. 164 // Boolean that is true when Suggest support is enabled.
162 const char kSearchSuggestEnabled[] = "search.suggest_enabled"; 165 const char kSearchSuggestEnabled[] = "search.suggest_enabled";
163 166
164 // OBSOLETE. Enum that specifies whether to enforce a third-party cookie 167 // OBSOLETE. Enum that specifies whether to enforce a third-party cookie
165 // blocking policy. This has been superseded by kDefaultContentSettings + 168 // blocking policy. This has been superseded by kDefaultContentSettings +
166 // kBlockThirdPartyCookies. 169 // kBlockThirdPartyCookies.
167 // 0 - allow all cookies. 170 // 0 - allow all cookies.
168 // 1 - block third-party cookies 171 // 1 - block third-party cookies
169 // 2 - block all cookies 172 // 2 - block all cookies
170 const char kCookieBehavior[] = "security.cookie_behavior"; 173 const char kCookieBehavior[] = "security.cookie_behavior";
(...skipping 1049 matching lines...) Expand 10 before | Expand all | Expand 10 after
1220 const char kManagedDefaultPluginsSetting[] = 1223 const char kManagedDefaultPluginsSetting[] =
1221 "profile.managed_default_content_settings.plugins"; 1224 "profile.managed_default_content_settings.plugins";
1222 const char kManagedDefaultPopupsSetting[] = 1225 const char kManagedDefaultPopupsSetting[] =
1223 "profile.managed_default_content_settings.popups"; 1226 "profile.managed_default_content_settings.popups";
1224 1227
1225 // Dictionary for storing the set of known background pages (keys are extension 1228 // Dictionary for storing the set of known background pages (keys are extension
1226 // IDs of background page owners, value is a boolean that is true if the user 1229 // IDs of background page owners, value is a boolean that is true if the user
1227 // needs to acknowledge this page. 1230 // needs to acknowledge this page.
1228 const char kKnownBackgroundPages[] = "background_pages.known"; 1231 const char kKnownBackgroundPages[] = "background_pages.known";
1229 } // namespace prefs 1232 } // 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