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

Unified Diff: content/browser/loader/resource_dispatcher_host_impl.cc

Issue 141163002: Make PrerenderTracker's resource_throttle_io_thread_map_ use RenderFrame IDs instead of RenderView … (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: simplify code Created 6 years, 11 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/resource_dispatcher_host_impl.cc
===================================================================
--- content/browser/loader/resource_dispatcher_host_impl.cc (revision 245386)
+++ content/browser/loader/resource_dispatcher_host_impl.cc (working copy)
@@ -938,16 +938,6 @@
}
}
- // Notify the delegate to allow it to update state as well.
- if (delegate_) {
- delegate_->WillTransferRequestToNewProcess(old_routing_id.child_id,
- old_routing_id.route_id,
- old_request_id.request_id,
- child_id,
- route_id,
- request_id);
- }
-
// We should have a CrossSiteResourceHandler to finish the transfer.
DCHECK(info->cross_site_handler());
}
@@ -1097,6 +1087,7 @@
allow_download,
request_data.has_user_gesture,
request_data.referrer_policy,
+ request_data.visiblity_state,
resource_context,
filter_->GetWeakPtr(),
!is_sync_load);
@@ -1293,6 +1284,7 @@
download, // allow_download
false, // has_user_gesture
blink::WebReferrerPolicyDefault,
+ blink::WebPageVisibilityStateVisible,
context,
base::WeakPtr<ResourceMessageFilter>(), // filter
true); // is_async

Powered by Google App Engine
This is Rietveld 408576698