From c62634677c6859d03ca82fd90d9382c4d0045e97 Mon Sep 17 00:00:00 2001 From: "bryner@chromium.org" Date: Thu, 25 Aug 2011 02:13:52 +0000 Subject: Add support for client-side phishing detection for non-UMA users. In this mode, a sanitized pingback is sent that does not include the URL or any tokens extracted from the URL or page content. Currently, this feature is behind a command-line flag. BUG=none TEST=ClientSideDetectionServiceTest,BrowserFeatureExtractorTest Review URL: http://codereview.chromium.org/7635010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98168 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/chrome_switches.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chrome/common/chrome_switches.cc') diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index e03bf0f..73187ef 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -497,6 +497,12 @@ const char kEnablePanels[] = "enable-panels"; // Enable speculative TCP/IP preconnection. const char kEnablePreconnect[] = "enable-preconnect"; +// Enables the sanitized version of client-side phishing detection, for use by +// non-UMA users. Any features containing portions of the URL or page content +// are not sent as part of the pingback in this mode. +const char kEnableSanitizedClientSidePhishingDetection[] = + "enable-sanitized-client-side-phishing-detection"; + // Enable the IsSearchProviderInstalled and InstallSearchProvider with an extra // parameter to indicate if the provider should be the default. const char kEnableSearchProviderApiV2[] = "enable-search-provider-api-v2"; -- cgit v1.1