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

Unified Diff: mojo/application/public/interfaces/shell.mojom

Issue 1311353005: Adds a way to determine id of content handler that created app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweaks Created 5 years, 4 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: mojo/application/public/interfaces/shell.mojom
diff --git a/mojo/application/public/interfaces/shell.mojom b/mojo/application/public/interfaces/shell.mojom
index 3a313dd485148180697db538c8f538cc7fd68ebd..efa442dc8592d63508f2d518c343ddaf290e83af 100644
--- a/mojo/application/public/interfaces/shell.mojom
+++ b/mojo/application/public/interfaces/shell.mojom
@@ -56,10 +56,15 @@ interface Shell {
// CapabilityFilter above. Note also that this parameter may be NULL, which
// has the same meaning as allowing the target application to connect to
// any application and service.
+ //
+ // If the connection to |application_url| involves a content handler, then
+ // |content_handler_id| is the id of the deepest content handler used to
+ // establish the connection to |application_url|. If no content handler is
+ // used |content_handler_id| is 0.
Ben Goodger (Google) 2015/08/31 17:41:07 since this looks a little arbitrary... add: TODO(
ConnectToApplication(URLRequest application_url,
ServiceProvider&? services,
ServiceProvider? exposed_services,
- CapabilityFilter? filter);
+ CapabilityFilter? filter) => (uint32 content_handler_id);
// When there are no more instantiated services in an application, it should
// start its shutdown process by calling this method. Additionally, it should

Powered by Google App Engine
This is Rietveld 408576698