OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 // Enables the benchmarking extensions. | 449 // Enables the benchmarking extensions. |
450 const char kEnableBenchmarking[] = "enable-benchmarking"; | 450 const char kEnableBenchmarking[] = "enable-benchmarking"; |
451 | 451 |
452 // In the browser process this switch is used to enable or disable the | 452 // In the browser process this switch is used to enable or disable the |
453 // client-side phishing detection. In the renderer this switch is only enabled | 453 // client-side phishing detection. In the renderer this switch is only enabled |
454 // if this switch is enabled in the browser and the user has opted in to UMA | 454 // if this switch is enabled in the browser and the user has opted in to UMA |
455 // stats and SafeBrowsing is enabled in the preferences. | 455 // stats and SafeBrowsing is enabled in the preferences. |
456 const char kEnableClientSidePhishingDetection[] = | 456 const char kEnableClientSidePhishingDetection[] = |
457 "enable-client-side-phishing-detection"; | 457 "enable-client-side-phishing-detection"; |
458 | 458 |
| 459 // At this point, even if client-side phishing detection is enabled we will not, |
| 460 // by default, display an interstitial if we detected a phishing site. Once |
| 461 // we are confident that the false-positive rate is as low as expected we can |
| 462 // remove this flag. |
| 463 const char kEnableClientSidePhishingInterstitial[] = |
| 464 "enable-client-side-phishing-interstitial"; |
| 465 |
459 // This flag enables UI for clearing server data. Temporarily in place | 466 // This flag enables UI for clearing server data. Temporarily in place |
460 // until there's a server endpoint deployed. | 467 // until there's a server endpoint deployed. |
461 const char kEnableClearServerData[] = "enable-clear-server-data"; | 468 const char kEnableClearServerData[] = "enable-clear-server-data"; |
462 | 469 |
463 // Enable click-to-play for blocked plug-ins. | 470 // Enable click-to-play for blocked plug-ins. |
464 const char kEnableClickToPlay[] = "enable-click-to-play"; | 471 const char kEnableClickToPlay[] = "enable-click-to-play"; |
465 | 472 |
466 // This applies only when the process type is "service". Enables the | 473 // This applies only when the process type is "service". Enables the |
467 // Cloud Print Proxy component within the service process. | 474 // Cloud Print Proxy component within the service process. |
468 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; | 475 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; |
(...skipping 939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1408 | 1415 |
1409 // ----------------------------------------------------------------------------- | 1416 // ----------------------------------------------------------------------------- |
1410 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1417 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1411 // | 1418 // |
1412 // You were going to just dump your switches here, weren't you? Instead, | 1419 // You were going to just dump your switches here, weren't you? Instead, |
1413 // please put them in alphabetical order above, or in order inside the | 1420 // please put them in alphabetical order above, or in order inside the |
1414 // appropriate ifdef at the bottom. The order should match the header. | 1421 // appropriate ifdef at the bottom. The order should match the header. |
1415 // ----------------------------------------------------------------------------- | 1422 // ----------------------------------------------------------------------------- |
1416 | 1423 |
1417 } // namespace switches | 1424 } // namespace switches |
OLD | NEW |