summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
authorbryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-26 02:28:57 +0000
committerbryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-26 02:28:57 +0000
commit5444af87f9e4a9f61be163344e41ed3dca70dcf0 (patch)
tree9e065b8062a76841962b43b94bfd142eaf5e84c4 /chrome/renderer
parentda58c9cf8cb374a06e511ab6b59b47f21c6549d4 (diff)
downloadchromium_src-5444af87f9e4a9f61be163344e41ed3dca70dcf0.zip
chromium_src-5444af87f9e4a9f61be163344e41ed3dca70dcf0.tar.gz
chromium_src-5444af87f9e4a9f61be163344e41ed3dca70dcf0.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 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98168 Review URL: http://codereview.chromium.org/7635010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98383 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/safe_browsing/features.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/renderer/safe_browsing/features.h b/chrome/renderer/safe_browsing/features.h
index 82370c1..a8067f7 100644
--- a/chrome/renderer/safe_browsing/features.h
+++ b/chrome/renderer/safe_browsing/features.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
@@ -71,6 +71,10 @@ class FeatureMap {
namespace features {
// Constants for the various feature names that we use.
+//
+// IMPORTANT: when adding new features, you must update kAllowedFeatures in
+// chrome/browser/safe_browsing/client_side_detection_service.cc if the feature
+// should be sent in sanitized pingbacks.
////////////////////////////////////////////////////
// URL host features