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

Unified Diff: content/test/test_url_fetcher_factory.cc

Issue 8403017: Rename URLFetcher to be URLFetcherImpl, now that we have the content::URLFetcher interface. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/content_tests.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_url_fetcher_factory.cc
===================================================================
--- content/test/test_url_fetcher_factory.cc (revision 107484)
+++ content/test/test_url_fetcher_factory.cc (working copy)
@@ -8,7 +8,7 @@
#include "base/compiler_specific.h"
#include "base/message_loop.h"
-#include "content/common/net/url_fetcher.h"
+#include "content/common/net/url_fetcher_impl.h"
#include "content/public/common/url_fetcher_delegate.h"
#include "net/base/host_port_pair.h"
#include "net/http/http_response_headers.h"
@@ -16,13 +16,13 @@
ScopedURLFetcherFactory::ScopedURLFetcherFactory(
content::URLFetcherFactory* factory) {
- DCHECK(!URLFetcher::factory());
- URLFetcher::set_factory(factory);
+ DCHECK(!URLFetcherImpl::factory());
+ URLFetcherImpl::set_factory(factory);
}
ScopedURLFetcherFactory::~ScopedURLFetcherFactory() {
- DCHECK(URLFetcher::factory());
- URLFetcher::set_factory(NULL);
+ DCHECK(URLFetcherImpl::factory());
+ URLFetcherImpl::set_factory(NULL);
}
TestURLFetcher::TestURLFetcher(int id,
@@ -320,5 +320,5 @@
const GURL& url,
content::URLFetcher::RequestType request_type,
content::URLFetcherDelegate* d) {
- return new URLFetcher(url, request_type, d);
+ return new URLFetcherImpl(url, request_type, d);
}
« no previous file with comments | « content/content_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698