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

Unified Diff: content/browser/frame_host/render_frame_host_manager.h

Issue 2321543002: Merge CrossSiteResourceHandler and NavigationResourceThrottle (Closed)
Patch Set: Addressed nits Created 4 years, 3 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/render_frame_host_manager.h
diff --git a/content/browser/frame_host/render_frame_host_manager.h b/content/browser/frame_host/render_frame_host_manager.h
index 4533fb759d95eb0502cfd48ac9f24b7cbf339245..9a5ac3a2c0095629c134ffa5669966febbe0ea8d 100644
--- a/content/browser/frame_host/render_frame_host_manager.h
+++ b/content/browser/frame_host/render_frame_host_manager.h
@@ -28,7 +28,6 @@
namespace content {
class BrowserContext;
class CrossProcessFrameConnector;
-class CrossSiteTransferringRequest;
class FrameNavigationEntry;
class FrameTreeNode;
class InterstitialPageImpl;
@@ -299,12 +298,8 @@ class CONTENT_EXPORT RenderFrameHostManager
// The |pending_render_frame_host| is ready to commit a page. We should
// ensure that the old RenderFrameHost runs its unload handler first and
// determine whether a RenderFrameHost transfer is needed.
- // |cross_site_transferring_request| is NULL if a request is not being
- // transferred between renderers.
void OnCrossSiteResponse(RenderFrameHostImpl* pending_render_frame_host,
const GlobalRequestID& global_request_id,
- std::unique_ptr<CrossSiteTransferringRequest>
- cross_site_transferring_request,
const std::vector<GURL>& transfer_url_chain,
const Referrer& referrer,
ui::PageTransition page_transition,
@@ -777,12 +772,6 @@ class CONTENT_EXPORT RenderFrameHostManager
// Note: This member is not used in PlzNavigate.
std::unique_ptr<RenderFrameHostImpl> pending_render_frame_host_;
- // If a pending request needs to be transferred to another process, this
- // owns the request until it's transferred to the new process, so it will be
- // cleaned up if the navigation is cancelled. Otherwise, this is NULL.
- std::unique_ptr<CrossSiteTransferringRequest>
- cross_site_transferring_request_;
-
// This is used to temporarily store the NavigationHandle during
// transferring navigations. The handle needs to be stored because the old
// RenderFrameHost may be discarded before a new RenderFrameHost is created
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/frame_host/render_frame_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698