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

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

Issue 6014003: Intergration of the client-side phishing detection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove comment Created 9 years, 10 months 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
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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 // Enables the benchmarking extensions. 450 // Enables the benchmarking extensions.
451 const char kEnableBenchmarking[] = "enable-benchmarking"; 451 const char kEnableBenchmarking[] = "enable-benchmarking";
452 452
453 // In the browser process this switch is used to enable or disable the 453 // In the browser process this switch is used to enable or disable the
454 // client-side phishing detection. In the renderer this switch is only enabled 454 // client-side phishing detection. In the renderer this switch is only enabled
455 // if this switch is enabled in the browser and the user has opted in to UMA 455 // if this switch is enabled in the browser and the user has opted in to UMA
456 // stats and SafeBrowsing is enabled in the preferences. 456 // stats and SafeBrowsing is enabled in the preferences.
457 const char kEnableClientSidePhishingDetection[] = 457 const char kEnableClientSidePhishingDetection[] =
458 "enable-client-side-phishing-detection"; 458 "enable-client-side-phishing-detection";
459 459
460 // At this point, even if client-side phishing detection is enabled we will not,
461 // by default, display an interstitial if we detected a phishing site. Once
462 // we are confident that the false-positive rate is as low as expected we can
463 // remove this flag.
464 const char kEnableClientSidePhishingInterstitial[] =
465 "enable-client-side-phishing-interstitial";
466
460 // This flag enables UI for clearing server data. Temporarily in place 467 // This flag enables UI for clearing server data. Temporarily in place
461 // until there's a server endpoint deployed. 468 // until there's a server endpoint deployed.
462 const char kEnableClearServerData[] = "enable-clear-server-data"; 469 const char kEnableClearServerData[] = "enable-clear-server-data";
463 470
464 // Enable click-to-play for blocked plug-ins. 471 // Enable click-to-play for blocked plug-ins.
465 const char kEnableClickToPlay[] = "enable-click-to-play"; 472 const char kEnableClickToPlay[] = "enable-click-to-play";
466 473
467 // This applies only when the process type is "service". Enables the 474 // This applies only when the process type is "service". Enables the
468 // Cloud Print Proxy component within the service process. 475 // Cloud Print Proxy component within the service process.
469 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; 476 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy";
(...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after
1416 1423
1417 // ----------------------------------------------------------------------------- 1424 // -----------------------------------------------------------------------------
1418 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1425 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1419 // 1426 //
1420 // You were going to just dump your switches here, weren't you? Instead, 1427 // You were going to just dump your switches here, weren't you? Instead,
1421 // please put them in alphabetical order above, or in order inside the 1428 // please put them in alphabetical order above, or in order inside the
1422 // appropriate ifdef at the bottom. The order should match the header. 1429 // appropriate ifdef at the bottom. The order should match the header.
1423 // ----------------------------------------------------------------------------- 1430 // -----------------------------------------------------------------------------
1424 1431
1425 } // namespace switches 1432 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698