diff options
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_ |