summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing/browser_feature_extractor.h
diff options
context:
space:
mode:
authorbryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-16 23:36:45 +0000
committerbryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-16 23:36:45 +0000
commit1ca7d8add56fcfaba068761235dfdc6762eb50e5 (patch)
treeb225d655a12458aeb14ac18470632fbc900eba9c /chrome/browser/safe_browsing/browser_feature_extractor.h
parent84a4ef38a17cca183c2d963b8c0db8baf31dcdc0 (diff)
downloadchromium_src-1ca7d8add56fcfaba068761235dfdc6762eb50e5.zip
chromium_src-1ca7d8add56fcfaba068761235dfdc6762eb50e5.tar.gz
chromium_src-1ca7d8add56fcfaba068761235dfdc6762eb50e5.tar.bz2
Include the URL and all features in the CSD pingback for all users.
BUG=none TEST=updated existsing tests Review URL: http://codereview.chromium.org/8296012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105756 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/safe_browsing/browser_feature_extractor.h')
-rw-r--r--chrome/browser/safe_browsing/browser_feature_extractor.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/browser/safe_browsing/browser_feature_extractor.h b/chrome/browser/safe_browsing/browser_feature_extractor.h
index 7f6264f..d227407 100644
--- a/chrome/browser/safe_browsing/browser_feature_extractor.h
+++ b/chrome/browser/safe_browsing/browser_feature_extractor.h
@@ -82,10 +82,6 @@ class BrowserFeatureExtractor {
ClientPhishingRequest* request,
DoneCallback* callback);
- // The size of hash prefix to use for ClientPhishingRequest.hash_prefix.
- // Public for testing.
- static const int kHashPrefixLength;
-
private:
friend class DeleteTask<BrowserFeatureExtractor>;
typedef std::pair<ClientPhishingRequest*, DoneCallback*> ExtractionData;
@@ -147,10 +143,6 @@ class BrowserFeatureExtractor {
// is set it will return true and false otherwise.
bool GetHistoryService(HistoryService** history);
- // Computes the SHA-256 hash prefix for the URL and adds it to the
- // ClientPhishingRequest.
- void ComputeURLHash(ClientPhishingRequest* request);
-
TabContents* tab_;
ClientSideDetectionService* service_;
CancelableRequestConsumer request_consumer_;