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

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

Issue 10554008: Move content::URLFetcher static functions to net::URLFetcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win 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
Index: chrome/common/net/gaia/oauth2_api_call_flow.cc
diff --git a/chrome/common/net/gaia/oauth2_api_call_flow.cc b/chrome/common/net/gaia/oauth2_api_call_flow.cc
index 5fe2919214836988d77bda03ee171228c5603129..6426d7e121a677b4438c8600d09e38ea3d55bc2f 100644
--- a/chrome/common/net/gaia/oauth2_api_call_flow.cc
+++ b/chrome/common/net/gaia/oauth2_api_call_flow.cc
@@ -10,10 +10,10 @@
#include "base/basictypes.h"
#include "base/stringprintf.h"
#include "chrome/common/net/gaia/gaia_urls.h"
-#include "content/public/common/url_fetcher.h"
#include "net/base/escape.h"
#include "net/base/load_flags.h"
#include "net/http/http_status_code.h"
+#include "net/url_request/url_fetcher.h"
#include "net/url_request/url_request_context_getter.h"
#include "net/url_request/url_request_status.h"
@@ -148,7 +148,7 @@ void OAuth2ApiCallFlow::OnGetTokenFailure(
URLFetcher* OAuth2ApiCallFlow::CreateURLFetcher() {
std::string body = CreateApiCallBody();
bool empty_body = body.empty();
- URLFetcher* result = content::URLFetcher::Create(
+ URLFetcher* result = net::URLFetcher::Create(
0,
CreateApiCallUrl(),
empty_body ? URLFetcher::GET : URLFetcher::POST,

Powered by Google App Engine
This is Rietveld 408576698