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

Unified Diff: blimp/client/core/blimp_client_context_impl.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: Addresses nyquist's #9 comments. 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/client/core/blimp_client_context_impl.h
diff --git a/blimp/client/core/blimp_client_context_impl.h b/blimp/client/core/blimp_client_context_impl.h
index 86c3cc8bee4ccca718081e240a4d305612f7e67f..4b33693e46812bdfd27974eeae0ad0d89e8c02fb 100644
--- a/blimp/client/core/blimp_client_context_impl.h
+++ b/blimp/client/core/blimp_client_context_impl.h
@@ -12,6 +12,7 @@
#include "base/memory/weak_ptr.h"
#include "base/single_thread_task_runner.h"
#include "base/threading/thread.h"
+#include "blimp/client/core/geolocation/geolocation_feature.h"
#include "blimp/client/core/session/client_network_components.h"
#include "blimp/client/core/session/network_event_observer.h"
#include "blimp/client/public/blimp_client_context.h"
@@ -59,6 +60,8 @@ class BlimpClientContextImpl : public BlimpClientContext,
virtual void ConnectWithAssignment(AssignmentRequestResult result,
const Assignment& assignment);
+ void RegisterFeatures();
+
// Provides functionality from the embedder.
BlimpClientContextDelegate* delegate_ = nullptr;
@@ -74,6 +77,8 @@ class BlimpClientContextImpl : public BlimpClientContext,
std::unique_ptr<BlimpContentsManager> blimp_contents_manager_;
+ std::unique_ptr<GeolocationFeature> geolocation_feature_;
+
// Container struct for network components.
// Must be deleted on the IO thread.
std::unique_ptr<ClientNetworkComponents> net_components_;

Powered by Google App Engine
This is Rietveld 408576698