summaryrefslogtreecommitdiffstats
path: root/content/browser/geolocation/network_location_request.h
diff options
context:
space:
mode:
authorsanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 18:49:34 +0000
committersanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 18:49:34 +0000
commitabe2c035dd58c29f9c5f00807e502baa2cc462bc (patch)
tree45c383ddc14968e16e050938f73456e13a3fe980 /content/browser/geolocation/network_location_request.h
parent6cfef4d1548e36ecff926bdb148d9d497de4176c (diff)
downloadchromium_src-abe2c035dd58c29f9c5f00807e502baa2cc462bc.zip
chromium_src-abe2c035dd58c29f9c5f00807e502baa2cc462bc.tar.gz
chromium_src-abe2c035dd58c29f9c5f00807e502baa2cc462bc.tar.bz2
Moved URLRequestContextGetter to net/ so it can be used by projects such as jingle.
BUG=None TEST=Build. Review URL: http://codereview.chromium.org/6778025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80033 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/geolocation/network_location_request.h')
-rw-r--r--content/browser/geolocation/network_location_request.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/content/browser/geolocation/network_location_request.h b/content/browser/geolocation/network_location_request.h
index 073ed05..18caaa5 100644
--- a/content/browser/geolocation/network_location_request.h
+++ b/content/browser/geolocation/network_location_request.h
@@ -15,8 +15,12 @@
#include "content/browser/geolocation/device_data_provider.h"
#include "googleurl/src/gurl.h"
-class URLRequestContextGetter;
class URLFetcher;
+
+namespace net {
+class URLRequestContextGetter;
+}
+
struct Geoposition;
struct Position;
@@ -44,7 +48,7 @@ class NetworkLocationRequest : private URLFetcher::Delegate {
};
// |url| is the server address to which the request wil be sent.
- NetworkLocationRequest(URLRequestContextGetter* context,
+ NetworkLocationRequest(net::URLRequestContextGetter* context,
const GURL& url,
ListenerInterface* listener);
virtual ~NetworkLocationRequest();
@@ -70,7 +74,7 @@ class NetworkLocationRequest : private URLFetcher::Delegate {
const ResponseCookies& cookies,
const std::string& data);
- scoped_refptr<URLRequestContextGetter> url_context_;
+ scoped_refptr<net::URLRequestContextGetter> url_context_;
ListenerInterface* listener_;
const GURL url_;
scoped_ptr<URLFetcher> url_fetcher_;