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

Unified Diff: content/public/common/url_fetcher.h

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_unittest.cc ('k') | content/public/common/url_fetcher_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/url_fetcher.h
diff --git a/content/public/common/url_fetcher.h b/content/public/common/url_fetcher.h
index b17ace823753e5c7d919d932f2f3bc05f23c2712..e1f9c274d604d73000f9866cafeb3f4c0e64fe77 100644
--- a/content/public/common/url_fetcher.h
+++ b/content/public/common/url_fetcher.h
@@ -9,9 +9,11 @@
#include "content/common/content_export.h"
#include "net/url_request/url_fetcher.h"
-namespace content {
-
+namespace net {
class URLFetcherDelegate;
+} // namespace net
+
+namespace content {
// TODO(akalin): Move the static functions to net::URLFetcher and
// remove content::URLFetcher.
@@ -22,7 +24,7 @@ class CONTENT_EXPORT URLFetcher : public net::URLFetcher {
// |d| the object that will receive the callback on fetch completion.
static URLFetcher* Create(const GURL& url,
RequestType request_type,
- URLFetcherDelegate* d);
+ net::URLFetcherDelegate* d);
// Like above, but if there's a URLFetcherFactory registered with the
// implementation it will be used. |id| may be used during testing to identify
@@ -30,7 +32,7 @@ class CONTENT_EXPORT URLFetcher : public net::URLFetcher {
static URLFetcher* Create(int id,
const GURL& url,
RequestType request_type,
- URLFetcherDelegate* d);
+ net::URLFetcherDelegate* d);
// Cancels all existing URLFetchers. Will notify the URLFetcherDelegates.
// Note that any new URLFetchers created while this is running will not be
« no previous file with comments | « content/common/net/url_fetcher_impl_unittest.cc ('k') | content/public/common/url_fetcher_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698