Index: mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h |
diff --git a/mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h b/mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h |
index caebda2e8cfeb603e517cacdbbe8348f869639b1..3fd6bd98543da2c4c551b9bbdcf4d41df65b923f 100644 |
--- a/mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h |
+++ b/mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h |
@@ -10,6 +10,7 @@ |
#include "base/memory/scoped_vector.h" |
#include "base/memory/weak_ptr.h" |
#include "mojo/services/public/cpp/geometry/geometry_type_converters.h" |
+#include "mojo/services/public/cpp/view_manager/view_manager.h" |
#include "mojo/services/public/cpp/view_manager/view_manager_types.h" |
#include "mojo/services/public/interfaces/view_manager/view_manager.mojom.h" |
@@ -24,10 +25,11 @@ class ViewManagerTransaction; |
// Manages the connection with the View Manager service. |
class ViewManagerSynchronizer : public InterfaceImpl<IViewManagerClient> { |
public: |
- explicit ViewManagerSynchronizer(ViewManager* view_manager); |
+ explicit ViewManagerSynchronizer(ViewManagerDelegate* delegate); |
virtual ~ViewManagerSynchronizer(); |
bool connected() const { return connected_; } |
+ TransportConnectionId connection_id() const { return connection_id_; } |
// API exposed to the node/view implementations that pushes local changes to |
// the service. |