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

Unified Diff: chromeos/timezone/timezone_request.cc

Issue 790793008: chromeos: Remove unused private data members (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « chromeos/timezone/timezone_request.h ('k') | chromeos/timezone/timezone_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/timezone/timezone_request.cc
diff --git a/chromeos/timezone/timezone_request.cc b/chromeos/timezone/timezone_request.cc
index c39de0b9d569e7fca1eca1c9442769650d821e8c..22d2bc6a8c019d4528a14718518cf08186683674 100644
--- a/chromeos/timezone/timezone_request.cc
+++ b/chromeos/timezone/timezone_request.cc
@@ -117,6 +117,7 @@ void RecordUmaResult(TimeZoneRequestResult result, unsigned retries) {
}
// Creates the request url to send to the server.
+// |sensor| if this location was determined using hardware sensor.
GURL TimeZoneRequestURL(const GURL& url,
const Geoposition& geoposition,
bool sensor) {
@@ -305,12 +306,10 @@ TimeZoneRequest::TimeZoneRequest(
net::URLRequestContextGetter* url_context_getter,
const GURL& service_url,
const Geoposition& geoposition,
- bool sensor,
base::TimeDelta retry_timeout)
: url_context_getter_(url_context_getter),
service_url_(service_url),
geoposition_(geoposition),
- sensor_(sensor),
retry_timeout_abs_(base::Time::Now() + retry_timeout),
retry_sleep_on_server_error_(base::TimeDelta::FromSeconds(
kResolveTimeZoneRetrySleepOnServerErrorSeconds)),
« no previous file with comments | « chromeos/timezone/timezone_request.h ('k') | chromeos/timezone/timezone_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698