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

Unified Diff: mojo/public/interfaces/service_provider/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: Create a dedicated demo app instead of using wget Created 6 years, 5 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
« no previous file with comments | « mojo/mojo_public.gypi ('k') | mojo/service_manager/background_service_loader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/interfaces/service_provider/content_handler.mojom
diff --git a/mojo/public/interfaces/service_provider/content_handler.mojom b/mojo/public/interfaces/service_provider/content_handler.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..c8caf3106f6cfc2a56a579fb3f773dfb796ebb6d
--- /dev/null
+++ b/mojo/public/interfaces/service_provider/content_handler.mojom
@@ -0,0 +1,15 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import "mojo/public/interfaces/service_provider/service_provider.mojom"
+
+module mojo {
+
+interface ContentHandler {
+ OnConnect(string url,
+ handle<data_pipe_consumer> content,
darin (slow to review) 2014/08/03 06:12:02 Are you thinking we can get away with not supplyin
Aaron Boodman 2014/08/03 11:11:40 No, we will need the full URLResponse or something
+ ServiceProvider service_provider);
+};
+
+}
« no previous file with comments | « mojo/mojo_public.gypi ('k') | mojo/service_manager/background_service_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698