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

Unified Diff: device/geolocation/location_arbitrator_impl_unittest.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_impl.cc ('k') | device/geolocation/location_provider_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/location_arbitrator_impl_unittest.cc
diff --git a/device/geolocation/location_arbitrator_impl_unittest.cc b/device/geolocation/location_arbitrator_impl_unittest.cc
index fec25bf3d570d232f3f0914e9bfcec38d9d744ca..9e01f1181f12e7bb403cedafd81b928b49bc6539 100644
--- a/device/geolocation/location_arbitrator_impl_unittest.cc
+++ b/device/geolocation/location_arbitrator_impl_unittest.cc
@@ -172,13 +172,9 @@ class GeolocationLocationArbitratorTest : public testing::Test {
LocationArbitratorImpl::kFixStaleTimeoutMilliseconds + 1);
}
- MockLocationProvider* cell() {
- return arbitrator_->cell_;
- }
+ MockLocationProvider* cell() { return arbitrator_->cell_; }
- MockLocationProvider* gps() {
- return arbitrator_->gps_;
- }
+ MockLocationProvider* gps() { return arbitrator_->gps_; }
const scoped_refptr<FakeAccessTokenStore> access_token_store_;
const std::unique_ptr<MockLocationObserver> observer_;
@@ -223,16 +219,14 @@ TEST_F(GeolocationLocationArbitratorTest, NormalUsage) {
EXPECT_EQ(MockLocationProvider::LOW_ACCURACY, cell()->state_);
EXPECT_EQ(MockLocationProvider::LOW_ACCURACY, gps()->state_);
EXPECT_FALSE(observer_->last_position_.Validate());
- EXPECT_EQ(Geoposition::ERROR_CODE_NONE,
- observer_->last_position_.error_code);
+ EXPECT_EQ(Geoposition::ERROR_CODE_NONE, observer_->last_position_.error_code);
SetReferencePosition(cell());
EXPECT_TRUE(observer_->last_position_.Validate() ||
observer_->last_position_.error_code !=
Geoposition::ERROR_CODE_NONE);
- EXPECT_EQ(cell()->position_.latitude,
- observer_->last_position_.latitude);
+ EXPECT_EQ(cell()->position_.latitude, observer_->last_position_.latitude);
EXPECT_FALSE(cell()->is_permission_granted_);
EXPECT_FALSE(arbitrator_->HasPermissionBeenGranted());
« no previous file with comments | « device/geolocation/location_arbitrator_impl.cc ('k') | device/geolocation/location_provider_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698