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

Unified Diff: chrome/common/net/gaia/gaia_oauth_client_unittest.cc

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 | « chrome/common/net/gaia/gaia_oauth_client.cc ('k') | chrome/common/net/gaia/mock_url_fetcher_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/gaia/gaia_oauth_client_unittest.cc
diff --git a/chrome/common/net/gaia/gaia_oauth_client_unittest.cc b/chrome/common/net/gaia/gaia_oauth_client_unittest.cc
index 902778b8f6348f3f80062df909af3a30ff402196..ef9defca49e2cdc94d403a00de08504415ac1141 100644
--- a/chrome/common/net/gaia/gaia_oauth_client_unittest.cc
+++ b/chrome/common/net/gaia/gaia_oauth_client_unittest.cc
@@ -11,11 +11,11 @@
#include "base/string_util.h"
#include "chrome/common/net/gaia/gaia_oauth_client.h"
#include "chrome/test/base/testing_profile.h"
-#include "content/public/common/url_fetcher_delegate.h"
#include "content/test/test_url_fetcher_factory.h"
#include "googleurl/src/gurl.h"
#include "net/base/net_errors.h"
#include "net/http/http_status_code.h"
+#include "net/url_request/url_fetcher_delegate.h"
#include "net/url_request/url_request_status.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -31,7 +31,7 @@ class MockOAuthFetcher : public TestURLFetcher {
const GURL& url,
const std::string& results,
content::URLFetcher::RequestType request_type,
- content::URLFetcherDelegate* d)
+ net::URLFetcherDelegate* d)
: TestURLFetcher(0, url, d),
max_failure_count_(max_failure_count),
current_failure_count_(0) {
@@ -76,7 +76,7 @@ class MockOAuthFetcherFactory : public content::URLFetcherFactory,
int id,
const GURL& url,
content::URLFetcher::RequestType request_type,
- content::URLFetcherDelegate* d) {
+ net::URLFetcherDelegate* d) {
return new MockOAuthFetcher(
response_code_,
max_failure_count_,
« no previous file with comments | « chrome/common/net/gaia/gaia_oauth_client.cc ('k') | chrome/common/net/gaia/mock_url_fetcher_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698