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

Unified Diff: content/browser/geolocation/network_location_request.cc

Issue 10534120: Remove RadioData from geolocation (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix content_unittests Created 8 years, 6 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
« no previous file with comments | « content/browser/geolocation/network_location_request.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/geolocation/network_location_request.cc
diff --git a/content/browser/geolocation/network_location_request.cc b/content/browser/geolocation/network_location_request.cc
index 300df7b485001d19698460f4bd7729e29e0447c4..9a92923d3cade60c36bc2d024ba6761935f6e271 100644
--- a/content/browser/geolocation/network_location_request.cc
+++ b/content/browser/geolocation/network_location_request.cc
@@ -74,14 +74,12 @@ NetworkLocationRequest::~NetworkLocationRequest() {
}
bool NetworkLocationRequest::MakeRequest(const string16& access_token,
- const RadioData& radio_data,
const WifiData& wifi_data,
const base::Time& timestamp) {
if (url_fetcher_ != NULL) {
DVLOG(1) << "NetworkLocationRequest : Cancelling pending request";
url_fetcher_.reset();
}
- radio_data_ = radio_data;
wifi_data_ = wifi_data;
timestamp_ = timestamp;
@@ -124,7 +122,7 @@ void NetworkLocationRequest::OnURLFetchComplete(
DCHECK(listener_);
DVLOG(1) << "NetworkLocationRequest::Run() : Calling listener with position.";
listener_->LocationResponseAvailable(position, server_error, access_token,
- radio_data_, wifi_data_);
+ wifi_data_);
}
// Local functions.
« no previous file with comments | « content/browser/geolocation/network_location_request.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698