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

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

Issue 10554008: Move content::URLFetcher static functions to net::URLFetcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win link error Created 8 years, 6 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.cc
diff --git a/chrome/browser/safe_browsing/client_side_detection_service.cc b/chrome/browser/safe_browsing/client_side_detection_service.cc
index b00682b9834d49930d7c3d960cfc46eef0b1098f..0d989bda99fd77cbda09275dc7699d96323e7f71 100644
--- a/chrome/browser/safe_browsing/client_side_detection_service.cc
+++ b/chrome/browser/safe_browsing/client_side_detection_service.cc
@@ -24,12 +24,12 @@
#include "content/public/browser/notification_service.h"
#include "content/public/browser/notification_types.h"
#include "content/public/browser/render_process_host.h"
-#include "content/public/common/url_fetcher.h"
#include "crypto/sha2.h"
#include "googleurl/src/gurl.h"
#include "net/base/load_flags.h"
#include "net/http/http_response_headers.h"
#include "net/http/http_status_code.h"
+#include "net/url_request/url_fetcher.h"
#include "net/url_request/url_request_context_getter.h"
#include "net/url_request/url_request_status.h"
@@ -249,7 +249,7 @@ void ClientSideDetectionService::StartFetchModel() {
if (enabled_) {
// Start fetching the model either from the cache or possibly from the
// network if the model isn't in the cache.
- model_fetcher_.reset(content::URLFetcher::Create(
+ model_fetcher_.reset(net::URLFetcher::Create(
0 /* ID used for testing */, GURL(kClientModelUrl),
net::URLFetcher::GET, this));
model_fetcher_->SetRequestContext(request_context_getter_.get());
@@ -302,7 +302,7 @@ void ClientSideDetectionService::StartClientReportPhishingRequest(
return;
}
- net::URLFetcher* fetcher = content::URLFetcher::Create(
+ net::URLFetcher* fetcher = net::URLFetcher::Create(
0 /* ID used for testing */, GURL(kClientReportPhishingUrl),
net::URLFetcher::POST, this);
« no previous file with comments | « chrome/browser/profiles/profile_downloader.cc ('k') | chrome/browser/safe_browsing/download_protection_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698