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

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: Created 4 years, 10 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: content/browser/frame_host/navigator.h
diff --git a/content/browser/frame_host/navigator.h b/content/browser/frame_host/navigator.h
index b5e0e84a5381c2ff025c3bddf1802e161164697e..7d038a2589a71172b1af91cbb568e449fb561b80 100644
--- a/content/browser/frame_host/navigator.h
+++ b/content/browser/frame_host/navigator.h
@@ -11,6 +11,7 @@
#include "content/common/content_export.h"
#include "content/public/browser/navigation_controller.h"
#include "ui/base/window_open_disposition.h"
+#include "mojo/public/cpp/system/data_pipe.h"
class GURL;
struct FrameHostMsg_BeginNavigation_Params;
@@ -152,6 +153,10 @@ class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> {
// response to the navigation request has been received).
virtual void CommitNavigation(FrameTreeNode* frame_tree_node,
ResourceResponse* response,
+ scoped_ptr<StreamHandle> body,
+ mojo::ScopedDataPipeConsumerHandle data_consumer_handle);
+ virtual void CommitNavigation(FrameTreeNode* frame_tree_node,
+ ResourceResponse* response,
scoped_ptr<StreamHandle> body);
// PlzNavigate

Powered by Google App Engine
This is Rietveld 408576698