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

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

Issue 423963004: First cut at "content handling" support in Mojo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: blech 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 {
darin (slow to review) 2014/08/06 23:10:02 by the way, I'm not 100% sold on the name "OnConne
Aaron Boodman 2014/08/07 00:03:12 Yeah. I am not 100% with it either. There is also
+ OnConnect(string url,
darin (slow to review) 2014/08/06 23:10:02 Isn't this |url| parameter redundant? The URLRespo
Aaron Boodman 2014/08/07 00:03:12 No, because redirects. Also, as I said above in th
+ URLResponse url_response,
+ ServiceProvider service_provider);
};
}

Powered by Google App Engine
This is Rietveld 408576698