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

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

Issue 10412050: Change most content::URLFetcher references to net::URLFetcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ChromeOS, address comments Created 8 years, 7 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 a272443dddc7551aedb53efbe720449096ef5f5e..b00682b9834d49930d7c3d960cfc46eef0b1098f 100644
--- a/chrome/browser/safe_browsing/client_side_detection_service.cc
+++ b/chrome/browser/safe_browsing/client_side_detection_service.cc
@@ -251,7 +251,7 @@ void ClientSideDetectionService::StartFetchModel() {
// network if the model isn't in the cache.
model_fetcher_.reset(content::URLFetcher::Create(
0 /* ID used for testing */, GURL(kClientModelUrl),
- content::URLFetcher::GET, this));
+ net::URLFetcher::GET, this));
model_fetcher_->SetRequestContext(request_context_getter_.get());
model_fetcher_->Start();
}
@@ -302,9 +302,9 @@ void ClientSideDetectionService::StartClientReportPhishingRequest(
return;
}
- content::URLFetcher* fetcher = content::URLFetcher::Create(
+ net::URLFetcher* fetcher = content::URLFetcher::Create(
0 /* ID used for testing */, GURL(kClientReportPhishingUrl),
- content::URLFetcher::POST, this);
+ net::URLFetcher::POST, this);
// Remember which callback and URL correspond to the current fetcher object.
ClientReportInfo* info = new ClientReportInfo;
« 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