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

Unified Diff: content/browser/loader/navigation_url_loader_delegate.h

Issue 2797443005: PlzNavigate data pipe
Patch Set: cleanup 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/browser/loader/navigation_url_loader_delegate.h
diff --git a/content/browser/loader/navigation_url_loader_delegate.h b/content/browser/loader/navigation_url_loader_delegate.h
index c67854ac2e04cda353f34aa4f429629c785f987f..eec27711620ca85df1cf105da2373ca6e9cfe0c2 100644
--- a/content/browser/loader/navigation_url_loader_delegate.h
+++ b/content/browser/loader/navigation_url_loader_delegate.h
@@ -10,6 +10,7 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "content/common/content_export.h"
+#include "mojo/public/cpp/system/data_pipe.h"
namespace net {
struct RedirectInfo;
@@ -18,7 +19,6 @@ struct RedirectInfo;
namespace content {
class NavigationData;
-class StreamHandle;
struct GlobalRequestID;
struct ResourceResponse;
struct SSLStatus;
@@ -37,7 +37,7 @@ class CONTENT_EXPORT NavigationURLLoaderDelegate {
// |body_stream|. |navigation_data| is passed to the NavigationHandle.
virtual void OnResponseStarted(
const scoped_refptr<ResourceResponse>& response,
- std::unique_ptr<StreamHandle> body_stream,
+ mojo::ScopedDataPipeConsumerHandle consumer_handle,
const SSLStatus& ssl_status,
std::unique_ptr<NavigationData> navigation_data,
const GlobalRequestID& request_id,
« no previous file with comments | « content/browser/loader/navigation_resource_handler.cc ('k') | content/browser/loader/navigation_url_loader_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698