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

Unified Diff: chromeos/geolocation/simple_geolocation_request.h

Issue 2624843003: Add support for cellular geolocation (Closed)
Patch Set: Update device tests to use correct dict key Created 3 years, 10 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: chromeos/geolocation/simple_geolocation_request.h
diff --git a/chromeos/geolocation/simple_geolocation_request.h b/chromeos/geolocation/simple_geolocation_request.h
index dc72c5c52fd1e54c740e44711acf57d976d9dda6..a172a25a8dbe0400f9c52de8f5ea4ec10d7cd226 100644
--- a/chromeos/geolocation/simple_geolocation_request.h
+++ b/chromeos/geolocation/simple_geolocation_request.h
@@ -53,10 +53,12 @@ class CHROMEOS_EXPORT SimpleGeolocationRequest
// |url| is the server address to which the request wil be sent.
// |timeout| retry request on error until timeout.
// If wifi_data is not null, it will be sent to the geolocation server.
+ // If cell_tower_data is not null, it will be sent to the geolocation server.
SimpleGeolocationRequest(net::URLRequestContextGetter* url_context_getter,
const GURL& service_url,
base::TimeDelta timeout,
- std::unique_ptr<WifiAccessPointVector> wifi_data);
+ std::unique_ptr<WifiAccessPointVector> wifi_data,
+ std::unique_ptr<CellTowerVector> cell_tower_data);
~SimpleGeolocationRequest() override;
@@ -133,6 +135,7 @@ class CHROMEOS_EXPORT SimpleGeolocationRequest
Geoposition position_;
std::unique_ptr<WifiAccessPointVector> wifi_data_;
+ std::unique_ptr<CellTowerVector> cell_tower_data_;
// Creation and destruction should happen on the same thread.
base::ThreadChecker thread_checker_;
« no previous file with comments | « chromeos/geolocation/simple_geolocation_provider.cc ('k') | chromeos/geolocation/simple_geolocation_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698