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

Unified Diff: components/view_manager/public/cpp/lib/view.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
Index: components/view_manager/public/cpp/lib/view.cc
diff --git a/components/view_manager/public/cpp/lib/view.cc b/components/view_manager/public/cpp/lib/view.cc
index 5cdb8c966656d5d884d9e91dd2420bfe0b4c41d7..a0cbc9f11c3d1f3a8b194880c0d62805d0918853 100644
--- a/components/view_manager/public/cpp/lib/view.cc
+++ b/components/view_manager/public/cpp/lib/view.cc
@@ -370,11 +370,11 @@ void View::Embed(const String& url) {
static_cast<ViewManagerClientImpl*>(manager_)->Embed(url, id_);
}
-void View::Embed(const String& url,
+void View::Embed(mojo::URLRequestPtr request,
InterfaceRequest<ServiceProvider> services,
ServiceProviderPtr exposed_services) {
static_cast<ViewManagerClientImpl*>(manager_)
- ->Embed(url, id_, services.Pass(), exposed_services.Pass());
+ ->Embed(request.Pass(), id_, services.Pass(), exposed_services.Pass());
}
void View::Embed(ViewManagerClientPtr client) {
« no previous file with comments | « components/view_manager/display_manager.cc ('k') | components/view_manager/public/cpp/lib/view_manager_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698