OLD | NEW |
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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 // Enable experimental timeline API. | 439 // Enable experimental timeline API. |
440 const char kEnableExtensionTimelineApi[] = "enable-extension-timeline-api"; | 440 const char kEnableExtensionTimelineApi[] = "enable-extension-timeline-api"; |
441 | 441 |
442 // Enable the fastback page cache. | 442 // Enable the fastback page cache. |
443 const char kEnableFastback[] = "enable-fastback"; | 443 const char kEnableFastback[] = "enable-fastback"; |
444 | 444 |
445 // By default, cookies are not allowed on file://. They are needed for | 445 // By default, cookies are not allowed on file://. They are needed for |
446 // testing, for example page cycler and layout tests. See bug 1157243. | 446 // testing, for example page cycler and layout tests. See bug 1157243. |
447 const char kEnableFileCookies[] = "enable-file-cookies"; | 447 const char kEnableFileCookies[] = "enable-file-cookies"; |
448 | 448 |
| 449 // Enable improved SafeBrowsing download protection. |
| 450 const char kEnableImprovedDownloadProtection[] = |
| 451 "enable-improved-download-protection"; |
| 452 |
449 // Enable the in-browser thumbnailing, which is more efficient than the | 453 // Enable the in-browser thumbnailing, which is more efficient than the |
450 // in-renderer thumbnailing, as we can use more information to determine | 454 // in-renderer thumbnailing, as we can use more information to determine |
451 // if we need to update thumbnails. | 455 // if we need to update thumbnails. |
452 const char kEnableInBrowserThumbnailing[] = "enable-in-browser-thumbnailing"; | 456 const char kEnableInBrowserThumbnailing[] = "enable-in-browser-thumbnailing"; |
453 | 457 |
454 // Enable IPv6 support, even if probes suggest that it may not be fully | 458 // Enable IPv6 support, even if probes suggest that it may not be fully |
455 // supported. Some probes may require internet connections, and this flag will | 459 // supported. Some probes may require internet connections, and this flag will |
456 // allow support independent of application testing. | 460 // allow support independent of application testing. |
457 // This flag overrides "disable-ipv6" which appears elswhere in this file. | 461 // This flag overrides "disable-ipv6" which appears elswhere in this file. |
458 const char kEnableIPv6[] = "enable-ipv6"; | 462 const char kEnableIPv6[] = "enable-ipv6"; |
(...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1228 | 1232 |
1229 // ----------------------------------------------------------------------------- | 1233 // ----------------------------------------------------------------------------- |
1230 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1234 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1231 // | 1235 // |
1232 // You were going to just dump your switches here, weren't you? Instead, | 1236 // You were going to just dump your switches here, weren't you? Instead, |
1233 // please put them in alphabetical order above, or in order inside the | 1237 // please put them in alphabetical order above, or in order inside the |
1234 // appropriate ifdef at the bottom. The order should match the header. | 1238 // appropriate ifdef at the bottom. The order should match the header. |
1235 // ----------------------------------------------------------------------------- | 1239 // ----------------------------------------------------------------------------- |
1236 | 1240 |
1237 } // namespace switches | 1241 } // namespace switches |
OLD | NEW |