Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7972)

Unified Diff: chrome/browser/safe_browsing/client_side_detection_service.h

Issue 6277002: Remove thumbnails from the ClientSideDetectionService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/client_side_detection_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/client_side_detection_service.h
diff --git a/chrome/browser/safe_browsing/client_side_detection_service.h b/chrome/browser/safe_browsing/client_side_detection_service.h
index 7e048e5b06208d6a15ba3c067c3ca85809b6eaf7..af0a2d999ec72445c6da16975127ea15d8494ff3 100644
--- a/chrome/browser/safe_browsing/client_side_detection_service.h
+++ b/chrome/browser/safe_browsing/client_side_detection_service.h
@@ -33,7 +33,6 @@
#include "chrome/common/net/url_fetcher.h"
#include "googleurl/src/gurl.h"
-class SkBitmap;
class URLRequestContextGetter;
namespace net {
@@ -75,17 +74,15 @@ class ClientSideDetectionService : public URLFetcher::Delegate {
void GetModelFile(OpenModelDoneCallback* callback);
// Sends a request to the SafeBrowsing servers with the potentially phishing
- // URL, the client-side phishing score, and a low resolution thumbnail. The
- // |phishing_url| scheme should be HTTP. This method takes ownership of the
- // |callback| and calls it once the result has come back from the server or
- // if an error occurs during the fetch. If an error occurs the phishing
- // verdict will always be false. The callback is always called after
- // SendClientReportPhishingRequest() returns and on the same thread as
- // SendClientReportPhishingRequest() was called.
+ // URL and the client-side phishing score. The |phishing_url| scheme should
+ // be HTTP. This method takes ownership of the |callback| and calls it once
+ // the result has come back from the server or if an error occurs during the
+ // fetch. If an error occurs the phishing verdict will always be false. The
+ // callback is always called after SendClientReportPhishingRequest() returns
+ // and on the same thread as SendClientReportPhishingRequest() was called.
void SendClientReportPhishingRequest(
const GURL& phishing_url,
double score,
- SkBitmap thumbnail,
ClientReportPhishingRequestCallback* callback);
private:
@@ -142,7 +139,6 @@ class ClientSideDetectionService : public URLFetcher::Delegate {
void StartClientReportPhishingRequest(
const GURL& phishing_url,
double score,
- SkBitmap thumbnail,
ClientReportPhishingRequestCallback* callback);
// Starts getting the model file.
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/client_side_detection_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698