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

Unified Diff: components/view_manager/public/cpp/view_manager_context.h

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/public/cpp/view.h ('k') | components/view_manager/public/interfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/view_manager/public/cpp/view_manager_context.h
diff --git a/components/view_manager/public/cpp/view_manager_context.h b/components/view_manager/public/cpp/view_manager_context.h
index c24d0991214d2520a4a76f7bd91e623d355e755d..8f1fffe26dc54c1211581b7a457ecff0f3c5a8a8 100644
--- a/components/view_manager/public/cpp/view_manager_context.h
+++ b/components/view_manager/public/cpp/view_manager_context.h
@@ -9,6 +9,7 @@
#include <vector>
#include "mojo/application/public/cpp/service_provider_impl.h"
+#include "mojo/services/network/public/interfaces/url_loader.mojom.h"
#include "third_party/mojo/src/mojo/public/cpp/system/macros.h"
namespace mojo {
@@ -30,7 +31,7 @@ class ViewManagerContext {
// app alongside this Embed() call. |exposed_services| provides a means for
// the embedder to connect to services exposed by the embedded app.
void Embed(const String& url);
- void Embed(const String& url,
+ void Embed(mojo::URLRequestPtr request,
InterfaceRequest<ServiceProvider> services,
ServiceProviderPtr exposed_Services);
« no previous file with comments | « components/view_manager/public/cpp/view.h ('k') | components/view_manager/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698