| Index: mojo/services/view_manager/view_manager_init_service_impl.h
|
| diff --git a/mojo/services/view_manager/view_manager_init_service_impl.h b/mojo/services/view_manager/view_manager_init_service_impl.h
|
| index b9b5b3bff61143bcbb8e4cf15fb9a75f11b3886a..09a5ac61c57745324a03509a4ebd3c7da1a85b44 100644
|
| --- a/mojo/services/view_manager/view_manager_init_service_impl.h
|
| +++ b/mojo/services/view_manager/view_manager_init_service_impl.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/compiler_specific.h"
|
| +#include "base/memory/scoped_vector.h"
|
| #include "mojo/services/public/interfaces/view_manager/view_manager.mojom.h"
|
| #include "mojo/services/view_manager/root_node_manager.h"
|
| #include "mojo/services/view_manager/root_view_manager_delegate.h"
|
| @@ -47,8 +48,7 @@ class MOJO_VIEW_MANAGER_EXPORT ViewManagerInitServiceImpl
|
| Callback<void(bool)> callback;
|
| };
|
|
|
| - void MaybeEmbedRoot(const std::string& url,
|
| - const Callback<void(bool)>& callback);
|
| + void MaybeEmbedRoot();
|
|
|
| // ViewManagerInitService overrides:
|
| virtual void EmbedRoot(const String& url,
|
| @@ -63,8 +63,9 @@ class MOJO_VIEW_MANAGER_EXPORT ViewManagerInitServiceImpl
|
|
|
| RootNodeManager root_node_manager_;
|
|
|
| - // Parameters passed to Connect(). If non-null Connect() has been invoked.
|
| - scoped_ptr<ConnectParams> connect_params_;
|
| + // Stores information about inbound calls to EmbedRoot() pending execution on
|
| + // the window tree host being ready to use.
|
| + ScopedVector<ConnectParams> connect_params_;
|
|
|
| bool is_tree_host_ready_;
|
|
|
|
|