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

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: Addressed Dave's comments, plus added a --content-handlers switch 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/services/public/interfaces/network/network_service.mojom b/mojo/services/public/interfaces/content_handler/content_handler.mojom
similarity index 53%
copy from mojo/services/public/interfaces/network/network_service.mojom
copy to mojo/services/public/interfaces/content_handler/content_handler.mojom
index 205d16b7a1869aed16b82246aa97628aaacf4202..c45be887c4f2c02bcd11cdf86e412d06674f8fdc 100644
--- a/mojo/services/public/interfaces/network/network_service.mojom
+++ b/mojo/services/public/interfaces/content_handler/content_handler.mojom
@@ -2,17 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-import "mojo/services/public/interfaces/network/cookie_store.mojom"
+import "mojo/public/interfaces/service_provider/service_provider.mojom"
import "mojo/services/public/interfaces/network/url_loader.mojom"
module mojo {
-interface NetworkService {
- CreateURLLoader(URLLoader& loader);
-
- GetCookieStore(CookieStore& cookie_store);
-
- // TODO(darin): Add other methods here.
+interface ContentHandler {
+ OnConnect(string url,
+ URLResponse url_response,
+ ServiceProvider service_provider);
};
}

Powered by Google App Engine
This is Rietveld 408576698