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

Unified Diff: mojo/services/public/interfaces/content_handler/content_handler.mojom

Issue 456533002: Reland r288013: First cut at "content handling" support in Mojo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add a dependency on mojo_application Created 6 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/services/public/interfaces/content_handler/content_handler.mojom
diff --git a/mojo/public/interfaces/application/application.mojom b/mojo/services/public/interfaces/content_handler/content_handler.mojom
similarity index 54%
copy from mojo/public/interfaces/application/application.mojom
copy to mojo/services/public/interfaces/content_handler/content_handler.mojom
index 8828903c9405faa379733ae1a1e951cbf717cdbb..6c07580e30a0c81b767fb1b618cddbe4cb586aa5 100644
--- a/mojo/public/interfaces/application/application.mojom
+++ b/mojo/services/public/interfaces/content_handler/content_handler.mojom
@@ -3,14 +3,14 @@
// found in the LICENSE file.
import "mojo/public/interfaces/application/service_provider.mojom"
+import "mojo/services/public/interfaces/network/url_loader.mojom"
module mojo {
-// Applications vend Services through the ServiceProvider interface. Services
-// implement Interfaces.
-[Client=Shell]
-interface Application {
- AcceptConnection(string requestor_url, ServiceProvider provider);
+interface ContentHandler {
+ OnConnect(string url,
+ URLResponse url_response,
+ ServiceProvider service_provider);
};
}
« no previous file with comments | « mojo/services/public/interfaces/content_handler/BUILD.gn ('k') | mojo/services/view_manager/view_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698