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

Unified Diff: content/browser/frame_host/navigator.h

Issue 1693563002: PROTOTYPE: PlzNavigate: use a Mojo data pipe to stream navigation data to the renderer. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Browser sends URLRequest id to the renderer and renderer uses intermediary buffer for data: none he… Created 4 years, 9 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 | « content/browser/frame_host/navigation_request.cc ('k') | content/browser/frame_host/navigator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/navigator.h
diff --git a/content/browser/frame_host/navigator.h b/content/browser/frame_host/navigator.h
index ed0021fba5c63cec73af9f48689359b135c24fe9..0e5f0b9afeed940cdf803cabe52d1dd550e85c90 100644
--- a/content/browser/frame_host/navigator.h
+++ b/content/browser/frame_host/navigator.h
@@ -10,6 +10,7 @@
#include "content/browser/frame_host/navigator_delegate.h"
#include "content/common/content_export.h"
#include "content/public/browser/navigation_controller.h"
+#include "mojo/public/cpp/system/data_pipe.h"
#include "ui/base/window_open_disposition.h"
class GURL;
@@ -154,6 +155,12 @@ class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> {
virtual void CommitNavigation(NavigationRequest* navigation_request,
ResourceResponse* response,
scoped_ptr<StreamHandle> body);
+ // TODO(carlosk): there can only be one... At some point in time.
+ virtual void CommitNavigation(
+ NavigationRequest* navigation_request,
+ ResourceResponse* response,
+ mojo::ScopedDataPipeConsumerHandle data_consumer_handle,
+ int request_id);
// PlzNavigate
// Called when a NavigationRequest for |frame_tree_node| failed. An
« no previous file with comments | « content/browser/frame_host/navigation_request.cc ('k') | content/browser/frame_host/navigator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698