summaryrefslogtreecommitdiffstats
path: root/content/browser/geolocation
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/geolocation')
-rw-r--r--content/browser/geolocation/network_location_request.cc6
-rw-r--r--content/browser/geolocation/network_location_request.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/content/browser/geolocation/network_location_request.cc b/content/browser/geolocation/network_location_request.cc
index 71eb08f..300df7b 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 |
diff --git a/content/browser/geolocation/network_location_request.h b/content/browser/geolocation/network_location_request.h
index b13c626..1f12285 100644
--- a/content/browser/geolocation/network_location_request.h
+++ b/content/browser/geolocation/network_location_request.h
@@ -16,10 +16,10 @@
namespace content {
struct Geoposition;
-class URLFetcher;
}
namespace net {
+class URLFetcher;
class URLRequestContextGetter;
}
@@ -68,7 +68,7 @@ class NetworkLocationRequest : private net::URLFetcherDelegate {
scoped_refptr<net::URLRequestContextGetter> url_context_;
ListenerInterface* listener_;
const GURL url_;
- scoped_ptr<content::URLFetcher> url_fetcher_;
+ scoped_ptr<net::URLFetcher> url_fetcher_;
// Keep a copy of the data sent in the request, so we can refer back to it
// when the response arrives.