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

Unified Diff: chrome/common/net/gaia/mock_url_fetcher_factory.h

Issue 10581012: Move test_url_fetcher_factory.* from content/ to net/url_request (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove export annotations 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
Index: chrome/common/net/gaia/mock_url_fetcher_factory.h
diff --git a/chrome/common/net/gaia/mock_url_fetcher_factory.h b/chrome/common/net/gaia/mock_url_fetcher_factory.h
index e4ecf73acc371a072c804bb0fbde282628c49744..a3fb16c2004ad7c3827be6f398aa84d2453bf8b5 100644
--- a/chrome/common/net/gaia/mock_url_fetcher_factory.h
+++ b/chrome/common/net/gaia/mock_url_fetcher_factory.h
@@ -12,11 +12,11 @@
#include <string>
#include "chrome/common/net/gaia/gaia_auth_fetcher.h"
-#include "content/public/test/test_url_fetcher_factory.h"
+#include "net/url_request/test_url_fetcher_factory.h"
#include "net/url_request/url_request_status.h"
// Responds as though ClientLogin returned from the server.
-class MockFetcher : public TestURLFetcher {
+class MockFetcher : public net::TestURLFetcher {
public:
MockFetcher(bool success,
const GURL& url,
@@ -42,10 +42,10 @@ class MockFetcher : public TestURLFetcher {
template<typename T>
class MockURLFetcherFactory : public net::URLFetcherFactory,
- public ScopedURLFetcherFactory {
+ public net::ScopedURLFetcherFactory {
public:
MockURLFetcherFactory()
- : ScopedURLFetcherFactory(ALLOW_THIS_IN_INITIALIZER_LIST(this)),
+ : net::ScopedURLFetcherFactory(ALLOW_THIS_IN_INITIALIZER_LIST(this)),
success_(true) {
}
~MockURLFetcherFactory() {}
« no previous file with comments | « chrome/common/net/gaia/gaia_oauth_client_unittest.cc ('k') | chrome/common/net/gaia/oauth2_access_token_fetcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698