summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.cc
diff options
context:
space:
mode:
authorbryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-25 02:13:52 +0000
committerbryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-25 02:13:52 +0000
commitc62634677c6859d03ca82fd90d9382c4d0045e97 (patch)
tree84a96eac2bedab371281b34ccc20f714be9a0c57 /chrome/common/chrome_switches.cc
parentef23cdd535353ea3749ffd92d32bfbe68420b56b (diff)
downloadchromium_src-c62634677c6859d03ca82fd90d9382c4d0045e97.zip
chromium_src-c62634677c6859d03ca82fd90d9382c4d0045e97.tar.gz
chromium_src-c62634677c6859d03ca82fd90d9382c4d0045e97.tar.bz2
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
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r--chrome/common/chrome_switches.cc6
1 files changed, 6 insertions, 0 deletions
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";