| Index: services/view_manager/view_manager_app.cc
|
| diff --git a/services/view_manager/view_manager_app.cc b/services/view_manager/view_manager_app.cc
|
| index 42548a79f06d4df17acdfea9643f7a26931176cd..29bd799791684b199b1d130485d319ff8fafcf87 100644
|
| --- a/services/view_manager/view_manager_app.cc
|
| +++ b/services/view_manager/view_manager_app.cc
|
| @@ -72,6 +72,20 @@ ClientConnection* ViewManagerApp::CreateClientConnectionForEmbedAtView(
|
| service_request.Pass(), client.Pass());
|
| }
|
|
|
| +ClientConnection* ViewManagerApp::CreateClientConnectionForEmbedAtView(
|
| + ConnectionManager* connection_manager,
|
| + mojo::InterfaceRequest<mojo::ViewManagerService> service_request,
|
| + mojo::ConnectionSpecificId creator_id,
|
| + const std::string& creator_url,
|
| + const ViewId& root_id,
|
| + mojo::ViewManagerClientPtr view_manager_client) {
|
| + scoped_ptr<ViewManagerServiceImpl> service(new ViewManagerServiceImpl(
|
| + connection_manager, creator_id, creator_url, std::string(), root_id));
|
| + return new DefaultClientConnection(service.Pass(), connection_manager,
|
| + service_request.Pass(),
|
| + view_manager_client.Pass());
|
| +}
|
| +
|
| void ViewManagerApp::Create(ApplicationConnection* connection,
|
| InterfaceRequest<ViewManagerService> request) {
|
| if (connection_manager_->has_window_manager_client_connection()) {
|
|
|