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

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

Issue 2328453003: Makes use of EngineGeolocationFeature weak_ptr threadsafe. (Closed)
Patch Set: Get rid of ui/gl/BUILD.gn change Created 4 years, 3 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/engine_geolocation_feature.h
diff --git a/blimp/engine/feature/geolocation/engine_geolocation_feature.h b/blimp/engine/feature/geolocation/engine_geolocation_feature.h
index d6b1652cb724ad71da52d20ab55199992c476b8d..2b2765dc7e929b09f3a5b81d931159dd83253cfd 100644
--- a/blimp/engine/feature/geolocation/engine_geolocation_feature.h
+++ b/blimp/engine/feature/geolocation/engine_geolocation_feature.h
@@ -43,7 +43,9 @@ class EngineGeolocationFeature : public BlimpMessageProcessor,
void RequestAccuracy(
GeolocationSetInterestLevelMessage::Level level) override;
void OnPermissionGranted() override;
- void SetUpdateCallback(const GeopositionReceivedCallback& callback) override;
+ void SetUpdateCallback(
+ scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
+ const GeopositionReceivedCallback& callback) override;
std::unique_ptr<BlimpMessageProcessor> outgoing_message_processor_;
GeopositionReceivedCallback geoposition_received_callback_;

Powered by Google App Engine
This is Rietveld 408576698