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

Unified Diff: mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h

Issue 294833002: Mojo: more idiomatic C++ bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more Created 6 years, 7 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: 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 1a505836977093127944711cc405b537b19f3a5c..d1936c49e26b667937e86165f7a2f825ac039df0 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
@@ -56,7 +56,7 @@ class ViewManagerSynchronizer : public IViewManagerClient {
virtual void OnConnectionEstablished(
TransportConnectionId connection_id,
TransportChangeId next_server_change_id,
- const mojo::Array<INode>& nodes) OVERRIDE;
+ mojo::Array<INodePtr> nodes) OVERRIDE;
virtual void OnServerChangeIdAdvanced(
uint32_t next_server_change_id) OVERRIDE;
virtual void OnNodeHierarchyChanged(
@@ -64,7 +64,7 @@ class ViewManagerSynchronizer : public IViewManagerClient {
uint32 new_parent_id,
uint32 old_parent_id,
TransportChangeId server_change_id,
- const mojo::Array<INode>& nodes) OVERRIDE;
+ mojo::Array<INodePtr> nodes) OVERRIDE;
virtual void OnNodeDeleted(TransportNodeId node_id,
TransportChangeId server_change_id) OVERRIDE;
virtual void OnNodeViewReplaced(uint32_t node,

Powered by Google App Engine
This is Rietveld 408576698