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

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

Issue 2249283003: Hooks together Geolocation Feature in the Client and Engine. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lai
Patch Set: In response to Wez's #48 comments. 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 4219db03ebd54581a03516b8a9dca50b4ac97bec..d1f3cb888729def63ec6a95d4288834fae4ca44f 100644
--- a/blimp/engine/feature/geolocation/engine_geolocation_feature.h
+++ b/blimp/engine/feature/geolocation/engine_geolocation_feature.h
@@ -45,8 +45,11 @@ class EngineGeolocationFeature : public BlimpMessageProcessor,
void OnPermissionGranted() override;
void SetUpdateCallback(const GeopositionReceivedCallback& callback) override;
+ void SetTaskRunner(scoped_refptr<base::SingleThreadTaskRunner> runner);
+
std::unique_ptr<BlimpMessageProcessor> outgoing_message_processor_;
GeopositionReceivedCallback geoposition_received_callback_;
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
base::WeakPtrFactory<EngineGeolocationFeature> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(EngineGeolocationFeature);

Powered by Google App Engine
This is Rietveld 408576698