diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-29 03:01:49 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-29 03:01:49 +0000 |
commit | 6bd4083b2fbaa7eb92a549aa2c78950adee2ae9e (patch) | |
tree | 107491ca0b140e596c9e7d5ceb4b200d31f8d607 /content/browser/geolocation/network_location_request.h | |
parent | 95e8108cbc0c398b9499c54974d49ebabeb3be00 (diff) | |
download | chromium_src-6bd4083b2fbaa7eb92a549aa2c78950adee2ae9e.zip chromium_src-6bd4083b2fbaa7eb92a549aa2c78950adee2ae9e.tar.gz chromium_src-6bd4083b2fbaa7eb92a549aa2c78950adee2ae9e.tar.bz2 |
Move geolocation code to content namespace.
TBR=scottmg
Review URL: https://codereview.chromium.org/11276058
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164586 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/geolocation/network_location_request.h')
-rw-r--r-- | content/browser/geolocation/network_location_request.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/content/browser/geolocation/network_location_request.h b/content/browser/geolocation/network_location_request.h index cfb83de..49ac96c 100644 --- a/content/browser/geolocation/network_location_request.h +++ b/content/browser/geolocation/network_location_request.h @@ -13,15 +13,14 @@ #include "googleurl/src/gurl.h" #include "net/url_request/url_fetcher_delegate.h" -namespace content { -struct Geoposition; -} - namespace net { class URLFetcher; class URLRequestContextGetter; } +namespace content { +struct Geoposition; + // Takes a set of device data and sends it to a server to get a position fix. // It performs formatting of the request and interpretation of the response. class NetworkLocationRequest : private net::URLFetcherDelegate { @@ -34,7 +33,7 @@ class NetworkLocationRequest : private net::URLFetcherDelegate { // Updates the listener with a new position. server_error indicates whether // was a server or network error - either no response or a 500 error code. virtual void LocationResponseAvailable( - const content::Geoposition& position, + const Geoposition& position, bool server_error, const string16& access_token, const WifiData& wifi_data) = 0; @@ -75,4 +74,6 @@ class NetworkLocationRequest : private net::URLFetcherDelegate { DISALLOW_COPY_AND_ASSIGN(NetworkLocationRequest); }; +} // namespace content + #endif // CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_REQUEST_H_ |