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

Unified Diff: device/geolocation/geolocation_service_impl.cc

Issue 2200483002: Geolocation cleanup: run clang-format (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « device/geolocation/geolocation_service_context.cc ('k') | device/geolocation/geoposition.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/geolocation_service_impl.cc
diff --git a/device/geolocation/geolocation_service_impl.cc b/device/geolocation/geolocation_service_impl.cc
index f6f493cbc60e995447f46d5ce08110c2ac88e7c8..482de43209a84cfb313dda921977c915ccaad957 100644
--- a/device/geolocation/geolocation_service_impl.cc
+++ b/device/geolocation/geolocation_service_impl.cc
@@ -52,8 +52,7 @@ void RecordGeopositionErrorCode(Geoposition::ErrorCode error_code) {
code = GEOPOSITION_ERROR_CODE_TIMEOUT;
break;
}
- UMA_HISTOGRAM_ENUMERATION("Geolocation.LocationUpdate.ErrorCode",
- code,
+ UMA_HISTOGRAM_ENUMERATION("Geolocation.LocationUpdate.ErrorCode", code,
GEOPOSITION_ERROR_CODE_COUNT);
}
@@ -69,9 +68,8 @@ GeolocationServiceImpl::GeolocationServiceImpl(
high_accuracy_(false),
has_position_to_report_(false) {
DCHECK(context_);
- binding_.set_connection_error_handler(
- base::Bind(&GeolocationServiceImpl::OnConnectionError,
- base::Unretained(this)));
+ binding_.set_connection_error_handler(base::Bind(
+ &GeolocationServiceImpl::OnConnectionError, base::Unretained(this)));
}
GeolocationServiceImpl::~GeolocationServiceImpl() {
« no previous file with comments | « device/geolocation/geolocation_service_context.cc ('k') | device/geolocation/geoposition.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698