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

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

Issue 373373002: Mojo: Refactor URLLoader interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes per review 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/services/network/url_loader_impl.cc ('k') | mojo/services/public/interfaces/network/url_loader.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/public/interfaces/navigation/navigation.mojom
diff --git a/mojo/services/public/interfaces/navigation/navigation.mojom b/mojo/services/public/interfaces/navigation/navigation.mojom
index a08e3616be2a57cb89e6d323c5e08dbcc5cf0037..5254bf041904c7a7b9bbb2105d8d5e551e6a0540 100644
--- a/mojo/services/public/interfaces/navigation/navigation.mojom
+++ b/mojo/services/public/interfaces/navigation/navigation.mojom
@@ -26,8 +26,13 @@ struct NavigationDetails {
struct ResponseDetails {
// TODO(beng): consider providing access to URLRequest too. Currently it is
// not possible to obtain from the URLLoader.
+
+ // The URLLoader instance that generated the response. This must be kept
+ // alive until the response body has been completely consumed.
+ // TODO(darin): This should be |mojo.URLLoader loader|. See crbug/392693.
+ handle<message_pipe> loader_handle;
+
mojo.URLResponse response;
- handle<data_pipe_consumer> response_body_stream;
};
// Embedders that support navigation of implement this interface.
« no previous file with comments | « mojo/services/network/url_loader_impl.cc ('k') | mojo/services/public/interfaces/network/url_loader.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698