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

Unified Diff: content/browser/geolocation/network_location_request.cc

Issue 10412050: Change most content::URLFetcher references to net::URLFetcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ChromeOS, address comments 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: content/browser/geolocation/network_location_request.cc
diff --git a/content/browser/geolocation/network_location_request.cc b/content/browser/geolocation/network_location_request.cc
index 71eb08ffcc7f2c6b3393c8d6ba1eeba831e4ffeb..300df7b485001d19698460f4bd7729e29e0447c4 100644
--- a/content/browser/geolocation/network_location_request.cc
+++ b/content/browser/geolocation/network_location_request.cc
@@ -12,8 +12,8 @@
#include "base/string_number_conversions.h"
#include "base/utf_string_conversions.h"
#include "base/values.h"
-#include "content/common/net/url_fetcher_impl.h"
#include "content/public/common/geoposition.h"
+#include "content/public/common/url_fetcher.h"
#include "net/base/escape.h"
#include "net/base/load_flags.h"
#include "net/url_request/url_request_context_getter.h"
@@ -87,8 +87,8 @@ bool NetworkLocationRequest::MakeRequest(const string16& access_token,
GURL request_url = FormRequestURL(url_.spec(), access_token,
wifi_data, timestamp_);
- url_fetcher_.reset(URLFetcherImpl::Create(
- url_fetcher_id_for_tests, request_url, URLFetcherImpl::GET, this));
+ url_fetcher_.reset(content::URLFetcher::Create(
+ url_fetcher_id_for_tests, request_url, net::URLFetcher::GET, this));
url_fetcher_->SetRequestContext(url_context_);
url_fetcher_->SetLoadFlags(
net::LOAD_BYPASS_CACHE | net::LOAD_DISABLE_CACHE |
« no previous file with comments | « content/browser/geolocation/network_location_request.h ('k') | content/browser/speech/google_one_shot_remote_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698