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

Unified Diff: content/public/common/process.mojom

Issue 1128453004: Embed a simple Mojo shell in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: content/public/common/process.mojom
diff --git a/content/common/application_setup.mojom b/content/public/common/process.mojom
similarity index 57%
copy from content/common/application_setup.mojom
copy to content/public/common/process.mojom
index 4e094a0e96471ba4b99ed609a635cd639253b5c9..9ac38574827380ad054e8eeac9243abfbdc91336 100644
--- a/content/common/application_setup.mojom
+++ b/content/public/common/process.mojom
@@ -4,9 +4,15 @@
module content;
-import "third_party/mojo/src/mojo/public/interfaces/application/service_provider.mojom";
+import "third_party/mojo/src/mojo/public/interfaces/application/application.mojom";
-interface ApplicationSetup {
- ExchangeServiceProviders(mojo.ServiceProvider& services,
- mojo.ServiceProvider exposed_services);
+enum LaunchResult {
+ OK,
+ NOT_FOUND,
+ UNKNOWN_ERROR,
+};
+
+interface Process {
xhwang 2015/05/13 05:19:20 This is more like an ApplicationLoader interface.
+ LoadApplication(string url, mojo.Application& request)
+ => (LaunchResult result);
};

Powered by Google App Engine
This is Rietveld 408576698