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

Unified Diff: content/child/resource_dispatcher.h

Issue 2813243002: network service: pass PlzNavigate resulting data via mojo data pipe (Closed)
Patch Set: ahem Created 3 years, 8 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/child/resource_dispatcher.h
diff --git a/content/child/resource_dispatcher.h b/content/child/resource_dispatcher.h
index 5554c44b968648deadc852530f23fda47673ee59..8b61daf0b54a86a4a6012e9d8d5e89a199d02cf5 100644
--- a/content/child/resource_dispatcher.h
+++ b/content/child/resource_dispatcher.h
@@ -26,6 +26,7 @@
#include "content/public/common/resource_type.h"
#include "ipc/ipc_listener.h"
#include "ipc/ipc_sender.h"
+#include "mojo/public/cpp/system/data_pipe.h"
#include "net/base/request_priority.h"
#include "third_party/WebKit/public/platform/WebURLRequest.h"
#include "url/gurl.h"
@@ -98,7 +99,8 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener {
const url::Origin& frame_origin,
std::unique_ptr<RequestPeer> peer,
blink::WebURLRequest::LoadingIPCType ipc_type,
- mojom::URLLoaderFactory* url_loader_factory);
+ mojom::URLLoaderFactory* url_loader_factory,
+ mojo::ScopedDataPipeConsumerHandle consumer_handle);
// Removes a request from the |pending_requests_| list, returning true if the
// request was found and removed.
@@ -240,6 +242,10 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener {
// invocations will return current time until set_io_timestamp is called.
base::TimeTicks ConsumeIOTimestamp();
+ void ContinueForNavigation(
+ int request_id,
+ mojo::ScopedDataPipeConsumerHandle consumer_handle);
+
// Returns true if the message passed in is a resource related message.
static bool IsResourceDispatcherMessage(const IPC::Message& message);
« no previous file with comments | « content/browser/loader/navigation_url_loader_network_service.cc ('k') | content/child/resource_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698