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

Unified Diff: content/browser/loader/navigation_url_loader_impl_core.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
Index: content/browser/loader/navigation_url_loader_impl_core.h
diff --git a/content/browser/loader/navigation_url_loader_impl_core.h b/content/browser/loader/navigation_url_loader_impl_core.h
index b12629d92f23468ddee1f7f52d8c372ec5943622..ceabe9bcb9719471aa288bd5f7e0f2ce31f4cd83 100644
--- a/content/browser/loader/navigation_url_loader_impl_core.h
+++ b/content/browser/loader/navigation_url_loader_impl_core.h
@@ -9,6 +9,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "content/browser/loader/navigation_url_loader_impl.h"
+#include "mojo/public/cpp/system/data_pipe.h"
namespace net {
class URLRequest;
@@ -55,8 +56,10 @@ class NavigationURLLoaderImplCore {
ResourceResponse* response);
// Notifies |loader_| on the UI thread that the response started.
- void NotifyResponseStarted(ResourceResponse* response,
- scoped_ptr<StreamHandle> body);
+ void NotifyResponseStarted(
+ ResourceResponse* response,
+ mojo::ScopedDataPipeConsumerHandle data_consumer_handle,
+ int request_id);
// Notifies |loader_| on the UI thread that the request failed.
void NotifyRequestFailed(bool in_cache, int net_error);
« no previous file with comments | « content/browser/loader/navigation_url_loader_impl.cc ('k') | content/browser/loader/navigation_url_loader_impl_core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698