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

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

Issue 10694037: Add a policy to disable proceeding through the Safe Browsing interstitials. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressed comments Created 8 years, 5 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
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 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 const char kAutologinEnabled[] = "autologin.enabled"; 314 const char kAutologinEnabled[] = "autologin.enabled";
315 const char kReverseAutologinEnabled[] = "reverse_autologin.enabled"; 315 const char kReverseAutologinEnabled[] = "reverse_autologin.enabled";
316 316
317 // Boolean that is true when SafeBrowsing is enabled. 317 // Boolean that is true when SafeBrowsing is enabled.
318 const char kSafeBrowsingEnabled[] = "safebrowsing.enabled"; 318 const char kSafeBrowsingEnabled[] = "safebrowsing.enabled";
319 319
320 // Boolean that is true when SafeBrowsing Malware Report is enabled. 320 // Boolean that is true when SafeBrowsing Malware Report is enabled.
321 const char kSafeBrowsingReportingEnabled[] = 321 const char kSafeBrowsingReportingEnabled[] =
322 "safebrowsing.reporting_enabled"; 322 "safebrowsing.reporting_enabled";
323 323
324 // Boolean that is true when the SafeBrowsing interstitial should not allow
325 // users to proceed anyway.
326 const char kSafeBrowsingProceedAnywayDisabled[] =
327 "safebrowsing.proceed_anyway_disabled";
328
324 // Enum that specifies whether Incognito mode is: 329 // Enum that specifies whether Incognito mode is:
325 // 0 - Enabled. Default behaviour. Default mode is available on demand. 330 // 0 - Enabled. Default behaviour. Default mode is available on demand.
326 // 1 - Disabled. Used cannot browse pages in Incognito mode. 331 // 1 - Disabled. Used cannot browse pages in Incognito mode.
327 // 2 - Forced. All pages/sessions are forced into Incognito. 332 // 2 - Forced. All pages/sessions are forced into Incognito.
328 const char kIncognitoModeAvailability[] = "incognito.mode_availability"; 333 const char kIncognitoModeAvailability[] = "incognito.mode_availability";
329 334
330 // Boolean that is true when Suggest support is enabled. 335 // Boolean that is true when Suggest support is enabled.
331 const char kSearchSuggestEnabled[] = "search.suggest_enabled"; 336 const char kSearchSuggestEnabled[] = "search.suggest_enabled";
332 337
333 // Boolean that indicates whether the browser should put up a confirmation 338 // Boolean that indicates whether the browser should put up a confirmation
(...skipping 1634 matching lines...) Expand 10 before | Expand all | Expand 10 after
1968 const char kNetworkProfileLastWarningTime[] = 1973 const char kNetworkProfileLastWarningTime[] =
1969 "network_profile.last_warning_time"; 1974 "network_profile.last_warning_time";
1970 1975
1971 #if defined(OS_MACOSX) 1976 #if defined(OS_MACOSX)
1972 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. 1977 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5.
1973 const char kMacLeopardObsoleteInfobarLastShown[] = 1978 const char kMacLeopardObsoleteInfobarLastShown[] =
1974 "mac_105_obsolete_infobar_last_shown"; 1979 "mac_105_obsolete_infobar_last_shown";
1975 #endif // defined(OS_MACOSX) 1980 #endif // defined(OS_MACOSX)
1976 1981
1977 } // namespace prefs 1982 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698