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

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

Issue 6313008: 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
« chrome/browser/ui/browser.cc ('K') | « 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 // OBSOLETE. Boolean that is true if the form AutoFill is on (will record 128 // OBSOLETE. Boolean that is true if the form AutoFill is on (will record
129 // values entered in text inputs in forms and shows them in a popup when user 129 // values entered in text inputs in forms and shows them in a popup when user
130 // type in a text input with the same name later on). This has been superseded 130 // type in a text input with the same name later on). This has been superseded
131 // by kAutoFillEnabled. 131 // by kAutoFillEnabled.
132 const char kFormAutofillEnabled[] = "profile.form_autofill_enabled"; 132 const char kFormAutofillEnabled[] = "profile.form_autofill_enabled";
133 133
134 // Boolean that is true when SafeBrowsing is enabled. 134 // Boolean that is true when SafeBrowsing is enabled.
135 const char kSafeBrowsingEnabled[] = "safebrowsing.enabled"; 135 const char kSafeBrowsingEnabled[] = "safebrowsing.enabled";
136 136
137 // Boolean that is true when Incognito support is enabled.
138 const char kIncognitoEnabled[] = "incognito.enabled";
139
137 // Boolean that is true when SafeBrowsing Malware Report is enabled. 140 // Boolean that is true when SafeBrowsing Malware Report is enabled.
138 const char kSafeBrowsingReportingEnabled[] = 141 const char kSafeBrowsingReportingEnabled[] =
139 "safebrowsing.reporting_enabled"; 142 "safebrowsing.reporting_enabled";
140 143
141 // Boolean that is true when Suggest support is enabled. 144 // Boolean that is true when Suggest support is enabled.
142 const char kSearchSuggestEnabled[] = "search.suggest_enabled"; 145 const char kSearchSuggestEnabled[] = "search.suggest_enabled";
143 146
144 // OBSOLETE. Enum that specifies whether to enforce a third-party cookie 147 // OBSOLETE. Enum that specifies whether to enforce a third-party cookie
145 // blocking policy. This has been superseded by kDefaultContentSettings + 148 // blocking policy. This has been superseded by kDefaultContentSettings +
146 // kBlockThirdPartyCookies. 149 // kBlockThirdPartyCookies.
(...skipping 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after
1189 const char kManagedDefaultPluginsSetting[] = 1192 const char kManagedDefaultPluginsSetting[] =
1190 "profile.managed_default_content_settings.plugins"; 1193 "profile.managed_default_content_settings.plugins";
1191 const char kManagedDefaultPopupsSetting[] = 1194 const char kManagedDefaultPopupsSetting[] =
1192 "profile.managed_default_content_settings.popups"; 1195 "profile.managed_default_content_settings.popups";
1193 1196
1194 // Dictionary for storing the set of known background pages (keys are extension 1197 // Dictionary for storing the set of known background pages (keys are extension
1195 // IDs of background page owners, value is a boolean that is true if the user 1198 // IDs of background page owners, value is a boolean that is true if the user
1196 // needs to acknowledge this page. 1199 // needs to acknowledge this page.
1197 const char kKnownBackgroundPages[] = "background_pages.known"; 1200 const char kKnownBackgroundPages[] = "background_pages.known";
1198 } // namespace prefs 1201 } // namespace prefs
OLDNEW
« chrome/browser/ui/browser.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