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

Unified Diff: chrome/browser/geolocation/network_location_request.h

Issue 3153031: Gateway Location Provider (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Land patch Created 10 years, 4 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: chrome/browser/geolocation/network_location_request.h
diff --git a/chrome/browser/geolocation/network_location_request.h b/chrome/browser/geolocation/network_location_request.h
index 97b09ea2b702327a5bcd31068efa969066569fee..f7c8a0cfcb25c9e3ba0d7d63d85febe6998ee8b2 100644
--- a/chrome/browser/geolocation/network_location_request.h
+++ b/chrome/browser/geolocation/network_location_request.h
@@ -34,6 +34,7 @@ class NetworkLocationRequest : private URLFetcher::Delegate {
const Geoposition& position,
bool server_error,
const string16& access_token,
+ const GatewayData& gateway_data,
const RadioData& radio_data,
const WifiData& wifi_data) = 0;
@@ -51,6 +52,7 @@ class NetworkLocationRequest : private URLFetcher::Delegate {
// started. In all cases, any currently pending request will be canceled.
bool MakeRequest(const std::string& host,
const string16& access_token,
+ const GatewayData& gateway_data,
const RadioData& radio_data,
const WifiData& wifi_data,
const base::Time& timestamp);
@@ -74,6 +76,7 @@ class NetworkLocationRequest : private URLFetcher::Delegate {
// Keep a copy of the data sent in the request, so we can refer back to it
// when the response arrives.
+ GatewayData gateway_data_;
RadioData radio_data_;
WifiData wifi_data_;
base::Time timestamp_; // Timestamp of the above data, not of the request.

Powered by Google App Engine
This is Rietveld 408576698