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

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

Issue 1409003002: [SafeBrowsing] Block dangerous unchecked downloads based on a Finch trial. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/test/ppapi/ppapi_filechooser_browsertest.cc » ('j') | 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/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 // access to TCP/UDP socket APIs. 50 // access to TCP/UDP socket APIs.
51 const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api"; 51 const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api";
52 52
53 // Disables forcing on the experimental Plugin Power Saver feature. 53 // Disables forcing on the experimental Plugin Power Saver feature.
54 const char kDisablePluginPowerSaver[] = "disable-plugin-power-saver"; 54 const char kDisablePluginPowerSaver[] = "disable-plugin-power-saver";
55 55
56 // Enables forcing on the experimental Plugin Power Saver feature. 56 // Enables forcing on the experimental Plugin Power Saver feature.
57 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; 57 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver";
58 #endif 58 #endif
59 59
60 #if defined(FULL_SAFE_BROWSING)
61 const char kAllowUncheckedDangerousDownloads[] =
62 "allow-unchecked-dangerous-downloads";
63 const char kDisallowUncheckedDangerousDownloads[] =
64 "disallow-unchecked-dangerous-downloads";
65 #endif
66
60 // Don't block outdated plugins. 67 // Don't block outdated plugins.
61 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins"; 68 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins";
62 69
63 // By default, an https page cannot run JavaScript, CSS or plugins from http 70 // By default, an https page cannot run JavaScript, CSS or plugins from http
64 // URLs. This provides an override to get the old insecure behavior. 71 // URLs. This provides an override to get the old insecure behavior.
65 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content"; 72 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content";
66 73
67 // Specifies the probability threshold for alternative services: an advertised 74 // Specifies the probability threshold for alternative services: an advertised
68 // alternative service will only be honored if the advertised probability is 75 // alternative service will only be honored if the advertised probability is
69 // greater than or equal to this threshold. 76 // greater than or equal to this threshold.
(...skipping 1325 matching lines...) Expand 10 before | Expand all | Expand 10 after
1395 1402
1396 // ----------------------------------------------------------------------------- 1403 // -----------------------------------------------------------------------------
1397 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1404 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1398 // 1405 //
1399 // You were going to just dump your switches here, weren't you? Instead, please 1406 // You were going to just dump your switches here, weren't you? Instead, please
1400 // put them in alphabetical order above, or in order inside the appropriate 1407 // put them in alphabetical order above, or in order inside the appropriate
1401 // ifdef at the bottom. The order should match the header. 1408 // ifdef at the bottom. The order should match the header.
1402 // ----------------------------------------------------------------------------- 1409 // -----------------------------------------------------------------------------
1403 1410
1404 } // namespace switches 1411 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/test/ppapi/ppapi_filechooser_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698