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

Unified Diff: chrome/browser/chromeos/gdata/gdata_operations.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
Index: chrome/browser/chromeos/gdata/gdata_operations.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_operations.cc b/chrome/browser/chromeos/gdata/gdata_operations.cc
index 4a54d15e59a97213517c21d97ddfe39a8183d1c2..66c91005450f18aa3c9a3572c8fb229584efa0b5 100644
--- a/chrome/browser/chromeos/gdata/gdata_operations.cc
+++ b/chrome/browser/chromeos/gdata/gdata_operations.cc
@@ -15,12 +15,13 @@
#include "chrome/common/net/gaia/gaia_urls.h"
#include "chrome/common/net/gaia/google_service_auth_error.h"
#include "chrome/common/net/url_util.h"
+#include "content/public/common/url_fetcher.h"
#include "net/base/escape.h"
#include "net/http/http_util.h"
#include "third_party/libxml/chromium/libxml_utils.h"
using content::BrowserThread;
-using content::URLFetcher;
+using net::URLFetcher;
namespace {
@@ -259,7 +260,8 @@ void UrlFetchOperationBase::Start(const std::string& auth_token) {
DCHECK(!url.is_empty());
DVLOG(1) << "URL: " << url.spec();
- url_fetcher_.reset(URLFetcher::Create(url, GetRequestType(), this));
+ url_fetcher_.reset(
+ content::URLFetcher::Create(url, GetRequestType(), this));
url_fetcher_->SetRequestContext(g_browser_process->system_request_context());
// Always set flags to neither send nor save cookies.
url_fetcher_->SetLoadFlags(
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_operations.h ('k') | chrome/browser/chromeos/gdata/gdata_protocol_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698