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

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

Issue 7863006: Add a whitelist for the new binary download protection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test fixes Created 9 years, 3 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) 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 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 // in clear text. 220 // in clear text.
221 const char kPasswordManagerAllowShowPasswords[] = 221 const char kPasswordManagerAllowShowPasswords[] =
222 "profile.password_manager_allow_show_passwords"; 222 "profile.password_manager_allow_show_passwords";
223 223
224 // Boolean that identifies if the auto-login feature is enabled or not. 224 // Boolean that identifies if the auto-login feature is enabled or not.
225 const char kAutologinEnabled[] = "autologin.enabled"; 225 const char kAutologinEnabled[] = "autologin.enabled";
226 226
227 // Boolean that is true when SafeBrowsing is enabled. 227 // Boolean that is true when SafeBrowsing is enabled.
228 const char kSafeBrowsingEnabled[] = "safebrowsing.enabled"; 228 const char kSafeBrowsingEnabled[] = "safebrowsing.enabled";
229 229
230 // Boolean that is true when SafeBrowsing opt-in download protection is enabled.
231 const char kSafeBrowsingOptinDownloadProtectionEnabled[] =
232 "safebrowsing.optin_download_protection";
233
230 // Boolean that is true when SafeBrowsing Malware Report is enabled. 234 // Boolean that is true when SafeBrowsing Malware Report is enabled.
231 const char kSafeBrowsingReportingEnabled[] = 235 const char kSafeBrowsingReportingEnabled[] =
232 "safebrowsing.reporting_enabled"; 236 "safebrowsing.reporting_enabled";
233 237
234 // Enum that specifies whether Incognito mode is: 238 // Enum that specifies whether Incognito mode is:
235 // 0 - Enabled. Default behaviour. Default mode is available on demand. 239 // 0 - Enabled. Default behaviour. Default mode is available on demand.
236 // 1 - Disabled. Used cannot browse pages in Incognito mode. 240 // 1 - Disabled. Used cannot browse pages in Incognito mode.
237 // 2 - Forced. All pages/sessions are forced into Incognito. 241 // 2 - Forced. All pages/sessions are forced into Incognito.
238 const char kIncognitoModeAvailability[] = "incognito.mode_availability"; 242 const char kIncognitoModeAvailability[] = "incognito.mode_availability";
239 243
(...skipping 1346 matching lines...) Expand 10 before | Expand all | Expand 10 after
1586 // specified. 1590 // specified.
1587 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1591 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1588 1592
1589 // Integers that specify the policy refresh rate for device- and user-policy in 1593 // Integers that specify the policy refresh rate for device- and user-policy in
1590 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 1594 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
1591 // by the cloud policy subsystem. 1595 // by the cloud policy subsystem.
1592 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 1596 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
1593 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; 1597 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
1594 1598
1595 } // namespace prefs 1599 } // namespace prefs
OLDNEW
« chrome/browser/safe_browsing/safe_browsing_util.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698