| 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 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 430 // Enables the benchmarking extensions. | 430 // Enables the benchmarking extensions. |
| 431 const char kEnableBenchmarking[] = "enable-benchmarking"; | 431 const char kEnableBenchmarking[] = "enable-benchmarking"; |
| 432 | 432 |
| 433 // In the browser process this switch is used to enable or disable the | 433 // In the browser process this switch is used to enable or disable the |
| 434 // client-side phishing detection. In the renderer this switch is only enabled | 434 // client-side phishing detection. In the renderer this switch is only enabled |
| 435 // if this switch is enabled in the browser and the user has opted in to UMA | 435 // if this switch is enabled in the browser and the user has opted in to UMA |
| 436 // stats and SafeBrowsing is enabled in the preferences. | 436 // stats and SafeBrowsing is enabled in the preferences. |
| 437 const char kEnableClientSidePhishingDetection[] = | 437 const char kEnableClientSidePhishingDetection[] = |
| 438 "enable-client-side-phishing-detection"; | 438 "enable-client-side-phishing-detection"; |
| 439 | 439 |
| 440 // At this point, even if client-side phishing detection is enabled we will not, |
| 441 // by default, display an interstitial if we detected a phishing site. Once |
| 442 // we are confident that the false-positive rate is as low as expected we can |
| 443 // remove this flag. |
| 444 const char kEnableClientSidePhishingInterstitial[] = |
| 445 "enable-client-side-phishing-interstitial"; |
| 446 |
| 440 // This flag enables UI for clearing server data. Temporarily in place | 447 // This flag enables UI for clearing server data. Temporarily in place |
| 441 // until there's a server endpoint deployed. | 448 // until there's a server endpoint deployed. |
| 442 const char kEnableClearServerData[] = "enable-clear-server-data"; | 449 const char kEnableClearServerData[] = "enable-clear-server-data"; |
| 443 | 450 |
| 444 // Enable click-to-play for blocked plug-ins. | 451 // Enable click-to-play for blocked plug-ins. |
| 445 const char kEnableClickToPlay[] = "enable-click-to-play"; | 452 const char kEnableClickToPlay[] = "enable-click-to-play"; |
| 446 | 453 |
| 447 // This applies only when the process type is "service". Enables the | 454 // This applies only when the process type is "service". Enables the |
| 448 // Cloud Print Proxy component within the service process. | 455 // Cloud Print Proxy component within the service process. |
| 449 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; | 456 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; |
| (...skipping 933 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1383 | 1390 |
| 1384 // ----------------------------------------------------------------------------- | 1391 // ----------------------------------------------------------------------------- |
| 1385 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1392 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1386 // | 1393 // |
| 1387 // You were going to just dump your switches here, weren't you? Instead, | 1394 // You were going to just dump your switches here, weren't you? Instead, |
| 1388 // please put them in alphabetical order above, or in order inside the | 1395 // please put them in alphabetical order above, or in order inside the |
| 1389 // appropriate ifdef at the bottom. The order should match the header. | 1396 // appropriate ifdef at the bottom. The order should match the header. |
| 1390 // ----------------------------------------------------------------------------- | 1397 // ----------------------------------------------------------------------------- |
| 1391 | 1398 |
| 1392 } // namespace switches | 1399 } // namespace switches |
| OLD | NEW |