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

Unified Diff: content/test/test_url_fetcher_factory.cc

Issue 10534154: Move URLFetcherImpl to net/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows link error Created 8 years, 6 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/test/test_url_fetcher_factory.h ('k') | net/net.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_url_fetcher_factory.cc
diff --git a/content/test/test_url_fetcher_factory.cc b/content/test/test_url_fetcher_factory.cc
index 1886dd8426c1b2abc8f3791894f50db339dee916..99fd167fba49e9d85fbd63349de495e726a70d7f 100644
--- a/content/test/test_url_fetcher_factory.cc
+++ b/content/test/test_url_fetcher_factory.cc
@@ -10,21 +10,21 @@
#include "base/compiler_specific.h"
#include "base/memory/weak_ptr.h"
#include "base/message_loop.h"
-#include "content/common/net/url_fetcher_impl.h"
#include "net/base/host_port_pair.h"
#include "net/http/http_response_headers.h"
#include "net/url_request/url_fetcher_delegate.h"
+#include "net/url_request/url_fetcher_impl.h"
#include "net/url_request/url_request_status.h"
ScopedURLFetcherFactory::ScopedURLFetcherFactory(
net::URLFetcherFactory* factory) {
- DCHECK(!URLFetcherImpl::factory());
- URLFetcherImpl::set_factory(factory);
+ DCHECK(!net::URLFetcherImpl::factory());
+ net::URLFetcherImpl::set_factory(factory);
}
ScopedURLFetcherFactory::~ScopedURLFetcherFactory() {
- DCHECK(URLFetcherImpl::factory());
- URLFetcherImpl::set_factory(NULL);
+ DCHECK(net::URLFetcherImpl::factory());
+ net::URLFetcherImpl::set_factory(NULL);
}
TestURLFetcher::TestURLFetcher(int id,
@@ -338,5 +338,5 @@ net::URLFetcher* URLFetcherImplFactory::CreateURLFetcher(
const GURL& url,
net::URLFetcher::RequestType request_type,
net::URLFetcherDelegate* d) {
- return new URLFetcherImpl(url, request_type, d);
+ return new net::URLFetcherImpl(url, request_type, d);
}
« no previous file with comments | « content/public/test/test_url_fetcher_factory.h ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698