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

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

Issue 8586011: - Flip the flag for improved SafeBrowsing downoad protection. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Address Matt's comment. Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.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/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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 255
256 // Disables the sandbox for the built-in flash player. 256 // Disables the sandbox for the built-in flash player.
257 const char kDisableFlashSandbox[] = "disable-flash-sandbox"; 257 const char kDisableFlashSandbox[] = "disable-flash-sandbox";
258 258
259 // Disable the use of the HistoryQuickProvider for autocomplete results. 259 // Disable the use of the HistoryQuickProvider for autocomplete results.
260 const char kDisableHistoryQuickProvider[] = "disable-history-quick-provider"; 260 const char kDisableHistoryQuickProvider[] = "disable-history-quick-provider";
261 261
262 // Disable the use of the HistoryURLProvider for autocomplete results. 262 // Disable the use of the HistoryURLProvider for autocomplete results.
263 const char kDisableHistoryURLProvider[] = "disable-history-url-provider"; 263 const char kDisableHistoryURLProvider[] = "disable-history-url-provider";
264 264
265 // Disables improved SafeBrowsing download protection.
266 const char kDisableImprovedDownloadProtection[] =
267 "disable-improved-download-protection";
268
265 // Disables HTML5 Forms interactive validation. 269 // Disables HTML5 Forms interactive validation.
266 const char kDisableInteractiveFormValidation[] = 270 const char kDisableInteractiveFormValidation[] =
267 "disable-interactive-form-validation"; 271 "disable-interactive-form-validation";
268 272
269 // Disable the internal Flash Player. 273 // Disable the internal Flash Player.
270 const char kDisableInternalFlash[] = "disable-internal-flash"; 274 const char kDisableInternalFlash[] = "disable-internal-flash";
271 275
272 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging 276 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging
273 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file 277 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file
274 // bugs if something isn't working properly in the presence of IPv6. This flag 278 // bugs if something isn't working properly in the presence of IPv6. This flag
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 464
461 // By default, cookies are not allowed on file://. They are needed for testing, 465 // By default, cookies are not allowed on file://. They are needed for testing,
462 // for example page cycler and layout tests. See bug 1157243. 466 // for example page cycler and layout tests. See bug 1157243.
463 const char kEnableFileCookies[] = "enable-file-cookies"; 467 const char kEnableFileCookies[] = "enable-file-cookies";
464 468
465 // Enable HTTP pipelining. Attempt to pipeline HTTP connections. Heuristics will 469 // Enable HTTP pipelining. Attempt to pipeline HTTP connections. Heuristics will
466 // try to figure out if pipelining can be used for a given host and request. 470 // try to figure out if pipelining can be used for a given host and request.
467 // Without this flag, pipelining will never be used. 471 // Without this flag, pipelining will never be used.
468 const char kEnableHttpPipelining[] = "enable-http-pipelining"; 472 const char kEnableHttpPipelining[] = "enable-http-pipelining";
469 473
470 // Enables improved SafeBrowsing download protection.
471 const char kEnableImprovedDownloadProtection[] =
472 "enable-improved-download-protection";
473
474 // Enables the in-browser thumbnailing, which is more efficient than the 474 // Enables the in-browser thumbnailing, which is more efficient than the
475 // in-renderer thumbnailing, as we can use more information to determine if we 475 // in-renderer thumbnailing, as we can use more information to determine if we
476 // need to update thumbnails. 476 // need to update thumbnails.
477 const char kEnableInBrowserThumbnailing[] = "enable-in-browser-thumbnailing"; 477 const char kEnableInBrowserThumbnailing[] = "enable-in-browser-thumbnailing";
478 478
479 // Enables IPv6 support, even if probes suggest that it may not be fully 479 // Enables IPv6 support, even if probes suggest that it may not be fully
480 // supported. Some probes may require internet connections, and this flag will 480 // supported. Some probes may require internet connections, and this flag will
481 // allow support independent of application testing. This flag overrides 481 // allow support independent of application testing. This flag overrides
482 // "disable-ipv6" which appears elswhere in this file. 482 // "disable-ipv6" which appears elswhere in this file.
483 const char kEnableIPv6[] = "enable-ipv6"; 483 const char kEnableIPv6[] = "enable-ipv6";
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
1299 1299
1300 // ----------------------------------------------------------------------------- 1300 // -----------------------------------------------------------------------------
1301 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1301 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1302 // 1302 //
1303 // You were going to just dump your switches here, weren't you? Instead, please 1303 // You were going to just dump your switches here, weren't you? Instead, please
1304 // put them in alphabetical order above, or in order inside the appropriate 1304 // put them in alphabetical order above, or in order inside the appropriate
1305 // ifdef at the bottom. The order should match the header. 1305 // ifdef at the bottom. The order should match the header.
1306 // ----------------------------------------------------------------------------- 1306 // -----------------------------------------------------------------------------
1307 1307
1308 } // namespace switches 1308 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698