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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 2321543002: Merge CrossSiteResourceHandler and NavigationResourceThrottle (Closed)
Patch Set: Change to android fix + compile error 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_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index dfc873cb2237813d5d50014ab6d2f4049a4826f7..80f60d6fe3baafbf0490f1ef4c28a60684cd0a0a 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -24,7 +24,6 @@
#include "content/browser/devtools/render_frame_devtools_agent_host.h"
#include "content/browser/download/mhtml_generation_manager.h"
#include "content/browser/frame_host/cross_process_frame_connector.h"
-#include "content/browser/frame_host/cross_site_transferring_request.h"
#include "content/browser/frame_host/frame_tree.h"
#include "content/browser/frame_host/frame_tree_node.h"
#include "content/browser/frame_host/navigation_entry_impl.h"
@@ -1295,8 +1294,6 @@ int RenderFrameHostImpl::GetEnabledBindings() {
void RenderFrameHostImpl::SetNavigationHandle(
std::unique_ptr<NavigationHandleImpl> navigation_handle) {
navigation_handle_ = std::move(navigation_handle);
- if (navigation_handle_)
- navigation_handle_->set_render_frame_host(this);
}
std::unique_ptr<NavigationHandleImpl>
@@ -1307,20 +1304,6 @@ RenderFrameHostImpl::PassNavigationHandleOwnership() {
return std::move(navigation_handle_);
}
-void RenderFrameHostImpl::OnCrossSiteResponse(
- 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,
- bool should_replace_current_entry) {
- frame_tree_node_->render_manager()->OnCrossSiteResponse(
- this, global_request_id, std::move(cross_site_transferring_request),
- transfer_url_chain, referrer, page_transition,
- should_replace_current_entry);
-}
-
void RenderFrameHostImpl::SwapOut(
RenderFrameProxyHost* proxy,
bool is_loading) {

Powered by Google App Engine
This is Rietveld 408576698