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

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

Issue 23625015: Consolidate TestURLFetcherFactory::SetFakeResponse (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 7 years, 3 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
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 e442de6a8500968044f69bb891cc6369092658d6..cbb1a979db46b1fe7600a98dc2a28125a836d07e 100644
--- a/chrome/browser/safe_browsing/client_side_detection_service.h
+++ b/chrome/browser/safe_browsing/client_side_detection_service.h
@@ -286,7 +286,7 @@ class ClientSideDetectionService : public net::URLFetcherDelegate,
static bool ModelHasValidHashIds(const ClientSideModel& model);
// Returns the URL that will be used for phishing requests.
- static std::string GetClientReportUrl(const std::string& report_url);
+ static GURL GetClientReportUrl(const std::string& report_url);
// Whether the service is running or not. When the service is not running,
// it won't download the model nor report detected phishing URLs.
@@ -343,6 +343,6 @@ class ClientSideDetectionService : public net::URLFetcherDelegate,
DISALLOW_COPY_AND_ASSIGN(ClientSideDetectionService);
};
-} // namepsace safe_browsing
+} // namespace safe_browsing
#endif // CHROME_BROWSER_SAFE_BROWSING_CLIENT_SIDE_DETECTION_SERVICE_H_

Powered by Google App Engine
This is Rietveld 408576698