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

Unified Diff: blimp/engine/feature/geolocation/mock_blimp_location_provider_delegate.h

Issue 2328453003: Makes use of EngineGeolocationFeature weak_ptr threadsafe. (Closed)
Patch Set: Addresses Wez's #23 comments. Created 4 years, 2 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 | « blimp/engine/feature/geolocation/engine_geolocation_feature_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/feature/geolocation/mock_blimp_location_provider_delegate.h
diff --git a/blimp/engine/feature/geolocation/mock_blimp_location_provider_delegate.h b/blimp/engine/feature/geolocation/mock_blimp_location_provider_delegate.h
index 6b5762de1ebe56c1d8f65093171f80a82e0344ae..7308979a112875d7850dda400d7f2fb52a81ffde 100644
--- a/blimp/engine/feature/geolocation/mock_blimp_location_provider_delegate.h
+++ b/blimp/engine/feature/geolocation/mock_blimp_location_provider_delegate.h
@@ -24,9 +24,8 @@ class MockBlimpLocationProviderDelegate
MOCK_METHOD1(RequestAccuracy,
void(GeolocationSetInterestLevelMessage::Level level));
MOCK_METHOD0(OnPermissionGranted, void());
- MOCK_METHOD1(
- SetUpdateCallback,
- void(const base::Callback<void(const device::Geoposition&)>& callback));
+ MOCK_METHOD1(SetUpdateCallback,
+ void(const GeopositionReceivedCallback& callback));
private:
base::WeakPtrFactory<MockBlimpLocationProviderDelegate> weak_factory_;
« no previous file with comments | « blimp/engine/feature/geolocation/engine_geolocation_feature_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698