Index: content/browser/frame_host/render_frame_host_impl.h |
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h |
index 482e2e3748373d9b0e2880eaa54f9e34c0adf00b..3e1ba7beaf4f9ce290a292085542739313679fcc 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.h |
+++ b/content/browser/frame_host/render_frame_host_impl.h |
@@ -43,6 +43,7 @@ |
#include "content/public/common/javascript_dialog_type.h" |
#include "content/public/common/previews_state.h" |
#include "media/mojo/interfaces/interface_factory.mojom.h" |
+#include "mojo/public/cpp/system/data_pipe.h" |
#include "net/http/http_response_headers.h" |
#include "services/service_manager/public/cpp/interface_factory.h" |
#include "services/service_manager/public/cpp/interface_registry.h" |
@@ -97,7 +98,6 @@ class RenderWidgetHostImpl; |
class RenderWidgetHostView; |
class RenderWidgetHostViewBase; |
class ResourceRequestBody; |
-class StreamHandle; |
class TimeoutMonitor; |
class WebBluetoothServiceImpl; |
struct ContextMenuParams; |
@@ -541,7 +541,7 @@ class CONTENT_EXPORT RenderFrameHostImpl |
// PlzNavigate: Indicates that a navigation is ready to commit and can be |
// handled by this RenderFrame. |
void CommitNavigation(ResourceResponse* response, |
- std::unique_ptr<StreamHandle> body, |
+ mojo::ScopedDataPipeConsumerHandle handle, |
const CommonNavigationParams& common_params, |
const RequestNavigationParams& request_params, |
bool is_view_source); |
@@ -1090,10 +1090,6 @@ class CONTENT_EXPORT RenderFrameHostImpl |
// already exists it will still be used. |
bool no_create_browser_accessibility_manager_for_testing_; |
- // PlzNavigate: Owns the stream used in navigations to store the body of the |
- // response once it has started. |
- std::unique_ptr<StreamHandle> stream_handle_; |
- |
// Context shared for each mojom::PermissionService instance created for this |
// RFH. |
std::unique_ptr<PermissionServiceContext> permission_service_context_; |