Index: components/view_manager/connection_manager.cc |
diff --git a/components/view_manager/connection_manager.cc b/components/view_manager/connection_manager.cc |
index 2677236e0780e5e0259e276c1f5c082d0bf8d3f4..1c44e05512dd6282f950c21a1ed7dfa5f499f9d4 100644 |
--- a/components/view_manager/connection_manager.cc |
+++ b/components/view_manager/connection_manager.cc |
@@ -181,7 +181,7 @@ void ConnectionManager::OnConnectionError(ClientConnection* connection) { |
void ConnectionManager::EmbedAtView( |
ConnectionSpecificId creator_id, |
- const std::string& url, |
+ mojo::URLRequestPtr request, |
const ViewId& view_id, |
mojo::InterfaceRequest<mojo::ServiceProvider> services, |
mojo::ServiceProviderPtr exposed_services) { |
@@ -193,7 +193,8 @@ void ConnectionManager::EmbedAtView( |
mojo::ViewManagerServicePtr service_ptr; |
ClientConnection* client_connection = |
delegate_->CreateClientConnectionForEmbedAtView( |
- this, GetProxy(&service_ptr), creator_id, creator_url, url, view_id); |
+ this, GetProxy(&service_ptr), creator_id, creator_url, request.Pass(), |
+ view_id); |
AddConnection(client_connection); |
client_connection->service()->Init(client_connection->client(), |
service_ptr.Pass(), services.Pass(), |