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

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

Issue 10386063: Move URLFetcherDelegate to net/ and split URLFetcher between net/ and content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to head, fix win component build 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 d176ee5a2e28c45d2f7b19b40ddad85bb80fe1b5..a272443dddc7551aedb53efbe720449096ef5f5e 100644
--- a/chrome/browser/safe_browsing/client_side_detection_service.cc
+++ b/chrome/browser/safe_browsing/client_side_detection_service.cc
@@ -108,7 +108,7 @@ void ClientSideDetectionService::SetEnabledAndRefreshState(bool enabled) {
// Cancel pending requests.
model_fetcher_.reset();
// Invoke pending callbacks with a false verdict.
- for (std::map<const content::URLFetcher*, ClientReportInfo*>::iterator it =
+ for (std::map<const net::URLFetcher*, ClientReportInfo*>::iterator it =
client_phishing_reports_.begin();
it != client_phishing_reports_.end(); ++it) {
ClientReportInfo* info = it->second;
@@ -181,7 +181,7 @@ bool ClientSideDetectionService::IsBadIpAddress(
}
void ClientSideDetectionService::OnURLFetchComplete(
- const content::URLFetcher* source) {
+ const net::URLFetcher* source) {
std::string data;
source->GetResponseAsString(&data);
if (source == model_fetcher_.get()) {
@@ -322,7 +322,7 @@ void ClientSideDetectionService::StartClientReportPhishingRequest(
}
void ClientSideDetectionService::HandleModelResponse(
- const content::URLFetcher* source,
+ const net::URLFetcher* source,
const GURL& url,
const net::URLRequestStatus& status,
int response_code,
@@ -363,7 +363,7 @@ void ClientSideDetectionService::HandleModelResponse(
}
void ClientSideDetectionService::HandlePhishingVerdict(
- const content::URLFetcher* source,
+ const net::URLFetcher* source,
const GURL& url,
const net::URLRequestStatus& status,
int response_code,

Powered by Google App Engine
This is Rietveld 408576698