Index: blimp/engine/feature/geolocation/engine_geolocation_feature_unittest.cc |
diff --git a/blimp/engine/feature/geolocation/engine_geolocation_feature_unittest.cc b/blimp/engine/feature/geolocation/engine_geolocation_feature_unittest.cc |
index d74f7e8162071eb0e106d7458c3b728bb9e56e16..25de9cc961d3d469cea442b5eddf968f61021c4e 100644 |
--- a/blimp/engine/feature/geolocation/engine_geolocation_feature_unittest.cc |
+++ b/blimp/engine/feature/geolocation/engine_geolocation_feature_unittest.cc |
@@ -180,7 +180,8 @@ TEST_F(EngineGeolocationFeatureTest, UnexpectedMessageReceived) { |
EXPECT_EQ(net::ERR_UNEXPECTED, cb.WaitForResult()); |
} |
-TEST_F(EngineGeolocationFeatureTest, RequestRefresh) { |
+TEST_F(EngineGeolocationFeatureTest, |
+ OnPermissionGrantedTriggersRefreshRequest) { |
EXPECT_CALL(*out_processor_, |
MockableProcessMessage( |
EqualsUpdatedRequestLevel( |
@@ -199,7 +200,7 @@ TEST_F(EngineGeolocationFeatureTest, RequestRefresh) { |
.Times(1); |
location_provider_->StartProvider(true); |
- location_provider_->RequestRefresh(); |
+ location_provider_->OnPermissionGranted(); |
} |
} // namespace engine |