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

Unified Diff: components/view_manager/connection_manager.cc

Issue 1121783003: Move navigations with POST or referrer to the shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 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
« no previous file with comments | « components/view_manager/connection_manager.h ('k') | components/view_manager/connection_manager_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(),
« no previous file with comments | « components/view_manager/connection_manager.h ('k') | components/view_manager/connection_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698