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

Unified Diff: device/geolocation/location_arbitrator_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/location_arbitrator.h ('k') | device/geolocation/location_arbitrator_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/location_arbitrator_impl.cc
diff --git a/device/geolocation/location_arbitrator_impl.cc b/device/geolocation/location_arbitrator_impl.cc
index d39d3afccd2cfc14ba34f45d9d77e482091b8648..a61a4a3ab22a867fba5d272f7d9961b12776bf23 100644
--- a/device/geolocation/location_arbitrator_impl.cc
+++ b/device/geolocation/location_arbitrator_impl.cc
@@ -39,8 +39,7 @@ LocationArbitratorImpl::LocationArbitratorImpl(
is_permission_granted_(false),
is_running_(false) {}
-LocationArbitratorImpl::~LocationArbitratorImpl() {
-}
+LocationArbitratorImpl::~LocationArbitratorImpl() {}
GURL LocationArbitratorImpl::DefaultNetworkProviderURL() {
return GURL(kDefaultNetworkProviderUrl);
@@ -180,7 +179,8 @@ base::Time LocationArbitratorImpl::GetTimeNow() const {
}
bool LocationArbitratorImpl::IsNewPositionBetter(
- const Geoposition& old_position, const Geoposition& new_position,
+ const Geoposition& old_position,
+ const Geoposition& new_position,
bool from_same_provider) const {
// Updates location_info if it's better than what we currently have,
// or if it's a newer update from the same provider.
« no previous file with comments | « device/geolocation/location_arbitrator.h ('k') | device/geolocation/location_arbitrator_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698