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

Unified Diff: blimp/engine/feature/geolocation/blimp_location_provider_unittest.cc

Issue 2161223003: Adds GeolocationFeature for Blimp Geolocation project. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@engine_feature_prep
Patch Set: More merging. Created 4 years, 4 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
Index: blimp/engine/feature/geolocation/blimp_location_provider_unittest.cc
diff --git a/blimp/engine/feature/geolocation/blimp_location_provider_unittest.cc b/blimp/engine/feature/geolocation/blimp_location_provider_unittest.cc
index 2fe69b3815798e8ebe616353d2a1cd5ac8a626c7..8258c99db45c7f4f78fb8607a00186b15d8bcbd7 100644
--- a/blimp/engine/feature/geolocation/blimp_location_provider_unittest.cc
+++ b/blimp/engine/feature/geolocation/blimp_location_provider_unittest.cc
@@ -107,14 +107,14 @@ TEST_F(BlimpLocationProviderTest, LocationProviderDeleted) {
}
TEST_F(BlimpLocationProviderTest, OnPermissionGranted) {
- EXPECT_CALL(*delegate_, RequestRefresh()).Times(1);
+ EXPECT_CALL(*delegate_, OnPermissionGranted()).Times(1);
location_provider_->StartProvider(true);
location_provider_->OnPermissionGranted();
}
TEST_F(BlimpLocationProviderTest, OnPermissionGrantedHandlesNullDelegate) {
- EXPECT_CALL(*delegate_, RequestRefresh()).Times(0);
+ EXPECT_CALL(*delegate_, OnPermissionGranted()).Times(0);
location_provider_->StartProvider(true);
delegate_.reset();

Powered by Google App Engine
This is Rietveld 408576698