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

Unified Diff: content/child/resource_dispatcher.cc

Issue 184873004: Update resource requests to remove redundant frame ID. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update comments Created 6 years, 10 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
« no previous file with comments | « content/child/request_extra_data.cc ('k') | content/child/resource_dispatcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/resource_dispatcher.cc
diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc
index c8f00216827d11b670ac1280f0de1602aad58dbd..acb291a436e4fe44d63bec932a399ba73bd1727c 100644
--- a/content/child/resource_dispatcher.cc
+++ b/content/child/resource_dispatcher.cc
@@ -132,9 +132,8 @@ IPCResourceLoaderBridge::IPCResourceLoaderBridge(
request_.visiblity_state = extra_data->visibility_state();
request_.render_frame_id = extra_data->render_frame_id();
request_.is_main_frame = extra_data->is_main_frame();
- request_.frame_id = extra_data->frame_id();
request_.parent_is_main_frame = extra_data->parent_is_main_frame();
- request_.parent_frame_id = extra_data->parent_frame_id();
+ request_.parent_render_frame_id = extra_data->parent_render_frame_id();
request_.allow_download = extra_data->allow_download();
request_.transition_type = extra_data->transition_type();
request_.should_replace_current_entry =
@@ -148,9 +147,8 @@ IPCResourceLoaderBridge::IPCResourceLoaderBridge(
request_.visiblity_state = blink::WebPageVisibilityStateVisible;
request_.render_frame_id = MSG_ROUTING_NONE;
request_.is_main_frame = false;
- request_.frame_id = -1;
request_.parent_is_main_frame = false;
- request_.parent_frame_id = -1;
+ request_.parent_render_frame_id = -1;
request_.allow_download = true;
request_.transition_type = PAGE_TRANSITION_LINK;
request_.should_replace_current_entry = false;
« no previous file with comments | « content/child/request_extra_data.cc ('k') | content/child/resource_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698