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

Unified Diff: content/test/test_url_fetcher_factory.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/public/common/url_fetcher_factory.h ('k') | content/test/test_url_fetcher_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_url_fetcher_factory.h
diff --git a/content/test/test_url_fetcher_factory.h b/content/test/test_url_fetcher_factory.h
index a7e82e8bd3b81ab97d2984ae5ed8b49371f6798b..86036fc8cd1eafae96b626f5f108f0a0055e2f08 100644
--- a/content/test/test_url_fetcher_factory.h
+++ b/content/test/test_url_fetcher_factory.h
@@ -54,14 +54,14 @@ class ScopedURLFetcherFactory : public base::NonThreadSafe {
// might want to use the FakeURLFetcher and FakeURLFetcherFactory classes
// below.
-class TestURLFetcher : public content::URLFetcher {
+class TestURLFetcher : public net::URLFetcher {
public:
TestURLFetcher(int id,
const GURL& url,
net::URLFetcherDelegate* d);
virtual ~TestURLFetcher();
- // content::URLFetcher implementation
+ // net::URLFetcher implementation
virtual void SetUploadData(const std::string& upload_content_type,
const std::string& upload_content) OVERRIDE;
virtual void SetChunkedUpload(
@@ -186,10 +186,10 @@ class TestURLFetcherFactory : public content::URLFetcherFactory,
TestURLFetcherFactory();
virtual ~TestURLFetcherFactory();
- virtual content::URLFetcher* CreateURLFetcher(
+ virtual net::URLFetcher* CreateURLFetcher(
int id,
const GURL& url,
- content::URLFetcher::RequestType request_type,
+ net::URLFetcher::RequestType request_type,
net::URLFetcherDelegate* d) OVERRIDE;
TestURLFetcher* GetFetcherByID(int id) const;
void RemoveFetcherFromMap(int id);
@@ -248,10 +248,10 @@ class FakeURLFetcherFactory : public content::URLFetcherFactory,
// NULL.
// Otherwise, it will return a URLFetcher object which will respond with the
// pre-baked response that the client has set by calling SetFakeResponse().
- virtual content::URLFetcher* CreateURLFetcher(
+ virtual net::URLFetcher* CreateURLFetcher(
int id,
const GURL& url,
- content::URLFetcher::RequestType request_type,
+ net::URLFetcher::RequestType request_type,
net::URLFetcherDelegate* d) OVERRIDE;
// Sets the fake response for a given URL. If success is true we will serve
@@ -282,10 +282,10 @@ class URLFetcherImplFactory : public content::URLFetcherFactory {
virtual ~URLFetcherImplFactory();
// This method will create a real URLFetcher.
- virtual content::URLFetcher* CreateURLFetcher(
+ virtual net::URLFetcher* CreateURLFetcher(
int id,
const GURL& url,
- content::URLFetcher::RequestType request_type,
+ net::URLFetcher::RequestType request_type,
net::URLFetcherDelegate* d) OVERRIDE;
};
« no previous file with comments | « content/public/common/url_fetcher_factory.h ('k') | content/test/test_url_fetcher_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698