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

Unified Diff: content/test/test_url_fetcher_factory.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/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 682fd650f3475e9b6d5b9b2366a3c72dad67c805..a7e82e8bd3b81ab97d2984ae5ed8b49371f6798b 100644
--- a/content/test/test_url_fetcher_factory.h
+++ b/content/test/test_url_fetcher_factory.h
@@ -58,7 +58,7 @@ class TestURLFetcher : public content::URLFetcher {
public:
TestURLFetcher(int id,
const GURL& url,
- content::URLFetcherDelegate* d);
+ net::URLFetcherDelegate* d);
virtual ~TestURLFetcher();
// content::URLFetcher implementation
@@ -126,7 +126,7 @@ class TestURLFetcher : public content::URLFetcher {
const std::list<std::string>& upload_chunks() const { return chunks_; }
// Returns the delegate installed on the URLFetcher.
- content::URLFetcherDelegate* delegate() const { return delegate_; }
+ net::URLFetcherDelegate* delegate() const { return delegate_; }
void set_url(const GURL& url) { fake_url_ = url; }
void set_status(const net::URLRequestStatus& status);
@@ -152,7 +152,7 @@ class TestURLFetcher : public content::URLFetcher {
const int id_;
const GURL original_url_;
- content::URLFetcherDelegate* delegate_;
+ net::URLFetcherDelegate* delegate_;
std::string upload_data_;
std::list<std::string> chunks_;
bool did_receive_last_chunk_;
@@ -190,7 +190,7 @@ class TestURLFetcherFactory : public content::URLFetcherFactory,
int id,
const GURL& url,
content::URLFetcher::RequestType request_type,
- content::URLFetcherDelegate* d) OVERRIDE;
+ net::URLFetcherDelegate* d) OVERRIDE;
TestURLFetcher* GetFetcherByID(int id) const;
void RemoveFetcherFromMap(int id);
@@ -252,7 +252,7 @@ class FakeURLFetcherFactory : public content::URLFetcherFactory,
int id,
const GURL& url,
content::URLFetcher::RequestType request_type,
- content::URLFetcherDelegate* d) OVERRIDE;
+ net::URLFetcherDelegate* d) OVERRIDE;
// Sets the fake response for a given URL. If success is true we will serve
// an HTTP/200 and an HTTP/500 otherwise. The |response_data| may be empty.
@@ -286,7 +286,7 @@ class URLFetcherImplFactory : public content::URLFetcherFactory {
int id,
const GURL& url,
content::URLFetcher::RequestType request_type,
- content::URLFetcherDelegate* d) OVERRIDE;
+ 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