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); |
}; |