summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.cc
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-25 02:31:01 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-25 02:31:01 +0000
commit3b700c860d3297726f9f403ce2ef5345040dfaca (patch)
tree77bccb24312613ef36c1b990397c031eacb5cc89 /chrome/common/chrome_switches.cc
parent041331daa0d4fa060ed158639b579e973cfa14c0 (diff)
downloadchromium_src-3b700c860d3297726f9f403ce2ef5345040dfaca.zip
chromium_src-3b700c860d3297726f9f403ce2ef5345040dfaca.tar.gz
chromium_src-3b700c860d3297726f9f403ce2ef5345040dfaca.tar.bz2
Revert 98168, it caused compile errors on mac:
/b/build/slave/cr-mac-rel/build/src/chrome/browser/safe_browsing/browser_feature_extractor.cc:456:12:error: no member named 'set_suffix_prefix_hash' in 'safe_browsing::ClientPhishingRequest' request->set_suffix_prefix_hash( ~~~~~~~ ^ 1 error generated. /b/build/slave/cr-mac-rel/build/src/chrome/browser/safe_browsing/client_side_detection_service.cc:281:20:error: no member named 'has_suffix_prefix_hash' in 'safe_browsing::ClientPhishingRequest' if (full_request.has_suffix_prefix_hash()) { ~~~~~~~~~~~~ ^ /b/build/slave/cr-mac-rel/build/src/chrome/browser/safe_browsing/client_side_detection_service.cc:282:24:error: no member named 'set_suffix_prefix_hash' in 'safe_browsing::ClientPhishingRequest' sanitized_request->set_suffix_prefix_hash( ~~~~~~~~~~~~~~~~~ ^ /b/build/slave/cr-mac-rel/build/src/chrome/browser/safe_browsing/client_side_detection_service.cc:283:22:error: no member named 'suffix_prefix_hash' in 'safe_browsing::ClientPhishingRequest' full_request.suffix_prefix_hash()); ~~~~~~~~~~~~ ^ 3 errors generated. 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 TBR=bryner@chromium.org Review URL: http://codereview.chromium.org/7746011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98170 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r--chrome/common/chrome_switches.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 73187ef..e03bf0f 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -497,12 +497,6 @@ 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";