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

Unified Diff: content/common/net/url_fetcher_impl.cc

Issue 10392192: Remove content::URLFetcherDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More cleanup 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
« no previous file with comments | « content/common/net/url_fetcher_impl.h ('k') | content/common/net/url_fetcher_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/net/url_fetcher_impl.cc
diff --git a/content/common/net/url_fetcher_impl.cc b/content/common/net/url_fetcher_impl.cc
index 97449d364fa7b74d8b927889c7b3d1dc29cfa13d..1a3ff605c95aa93ea68b9aa63c35327cbe5237cd 100644
--- a/content/common/net/url_fetcher_impl.cc
+++ b/content/common/net/url_fetcher_impl.cc
@@ -16,7 +16,7 @@ static content::URLFetcherFactory* g_factory = NULL;
content::URLFetcher* content::URLFetcher::Create(
const GURL& url,
RequestType request_type,
- content::URLFetcherDelegate* d) {
+ net::URLFetcherDelegate* d) {
return new URLFetcherImpl(url, request_type, d);
}
@@ -25,7 +25,7 @@ content::URLFetcher* content::URLFetcher::Create(
int id,
const GURL& url,
RequestType request_type,
- content::URLFetcherDelegate* d) {
+ net::URLFetcherDelegate* d) {
return g_factory ? g_factory->CreateURLFetcher(id, url, request_type, d) :
new URLFetcherImpl(url, request_type, d);
}
@@ -67,7 +67,7 @@ void AssociateURLFetcherWithRenderView(net::URLFetcher* url_fetcher,
URLFetcherImpl::URLFetcherImpl(const GURL& url,
RequestType request_type,
- content::URLFetcherDelegate* d)
+ net::URLFetcherDelegate* d)
: ALLOW_THIS_IN_INITIALIZER_LIST(
core_(new content::URLFetcherCore(this, url, request_type, d))) {
}
@@ -227,7 +227,7 @@ int URLFetcherImpl::GetNumFetcherCores() {
return content::URLFetcherCore::GetNumFetcherCores();
}
-content::URLFetcherDelegate* URLFetcherImpl::delegate() const {
+net::URLFetcherDelegate* URLFetcherImpl::delegate() const {
return core_->delegate();
}
« no previous file with comments | « content/common/net/url_fetcher_impl.h ('k') | content/common/net/url_fetcher_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698