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

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

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
« no previous file with comments | « content/common/net/url_fetcher_impl_unittest.cc ('k') | content/public/common/url_fetcher_factory.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 e1f9c274d604d73000f9866cafeb3f4c0e64fe77..ac5ba60932d1368d36356e04cfa8060d47366d38 100644
--- a/content/public/common/url_fetcher.h
+++ b/content/public/common/url_fetcher.h
@@ -17,22 +17,22 @@ namespace content {
// TODO(akalin): Move the static functions to net::URLFetcher and
// remove content::URLFetcher.
-class CONTENT_EXPORT URLFetcher : public net::URLFetcher {
+class CONTENT_EXPORT URLFetcher {
public:
// |url| is the URL to send the request to.
// |request_type| is the type of request to make.
// |d| the object that will receive the callback on fetch completion.
- static URLFetcher* Create(const GURL& url,
- RequestType request_type,
- net::URLFetcherDelegate* d);
+ static net::URLFetcher* Create(const GURL& url,
+ net::URLFetcher::RequestType request_type,
+ 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
// who is creating the URLFetcher.
- static URLFetcher* Create(int id,
- const GURL& url,
- RequestType request_type,
- net::URLFetcherDelegate* d);
+ static net::URLFetcher* Create(int id,
+ const GURL& url,
+ net::URLFetcher::RequestType request_type,
+ 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_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698