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

Issue 11090068: When starting a provisional load include the parent frame ID in the IPC and pass it down the th WCO… (Closed)

Created:
8 years, 2 months ago by jochen (gone - plz use gerrit)
Modified:
8 years, 2 months ago
Reviewers:
Bernhard Bauer, jam, marja
CC:
chromium-reviews, cbentzel+watch_chromium.org, mihaip-chromium-reviews_chromium.org, gavinp+prer_chromium.org, tburkard+watch_chromium.org, dhollowa+watch_chromium.org, joi+watch-content_chromium.org, Aaron Boodman, dominich+watch_chromium.org, darin-cc_chromium.org, markusheintz_, mmenke
Visibility:
Public.

Description

When starting a provisional load include the parent frame ID in the IPC and pass it down the th WCObservers This is the first half of the change, the second half will send the parent frame id with the webNavigation events See RenderViewImpl::willSendRequest when it creates the RequestExtraData for a place where we already send the parent frame id (this is for the webRequest API that looks at network requests instead of navigation events) BUG=128927 TEST=FrameNavigationState.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161570

Patch Set 1 #

Total comments: 7

Patch Set 2 : updates #

Patch Set 3 : updates #

Patch Set 4 : updatess #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -58 lines) Patch
M chrome/browser/captive_portal/captive_portal_tab_helper.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/captive_portal/captive_portal_tab_helper.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc View 20 chunks +27 lines, -27 lines 0 comments Download
M chrome/browser/content_settings/tab_specific_content_settings.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/content_settings/tab_specific_content_settings.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/frame_navigation_state.h View 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/frame_navigation_state.cc View 1 2 3 3 chunks +19 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/frame_navigation_state_unittest.cc View 6 chunks +43 lines, -22 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/web_navigation_api.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/web_navigation_api.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/net/load_time_stats.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/net/load_time_stats.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_contents.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_contents.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_tab_helper.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_tab_helper.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/search/search_tab_helper.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/search/search_tab_helper.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/test_render_view_host.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M content/common/view_messages.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/public/browser/web_contents_observer.h View 1 1 chunk +5 lines, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
jochen (gone - plz use gerrit)
Marja: chrome/browser/extensions/api/web_navigation/* John: content/ (except for content/browser/browser_plugin/) the rest is just adding the new parameter ...
8 years, 2 months ago (2012-10-11 13:12:07 UTC) #1
marja
chrome/browser/extensions/api/web_navigation/* lgtm
8 years, 2 months ago (2012-10-11 13:25:58 UTC) #2
jam
On 2012/10/11 13:12:07, jochen wrote: > Marja: chrome/browser/extensions/api/web_navigation/* > John: content/ (except for content/browser/browser_plugin/) > ...
8 years, 2 months ago (2012-10-11 19:35:36 UTC) #3
jam
my parts lgtm
8 years, 2 months ago (2012-10-11 19:51:44 UTC) #4
Bernhard Bauer
A bunch of stupid questions below. That's what you get for making me review stuff ...
8 years, 2 months ago (2012-10-12 08:32:49 UTC) #5
jochen (gone - plz use gerrit)
http://codereview.chromium.org/11090068/diff/1/chrome/browser/extensions/api/web_navigation/frame_navigation_state.cc File chrome/browser/extensions/api/web_navigation/frame_navigation_state.cc (right): http://codereview.chromium.org/11090068/diff/1/chrome/browser/extensions/api/web_navigation/frame_navigation_state.cc#newcode106 chrome/browser/extensions/api/web_navigation/frame_navigation_state.cc:106: frame_state.parent_frame_num = -1; On 2012/10/12 08:32:49, Bernhard Bauer wrote: ...
8 years, 2 months ago (2012-10-12 10:44:47 UTC) #6
Bernhard Bauer
LGTM w/ one comment: http://codereview.chromium.org/11090068/diff/1/chrome/browser/extensions/api/web_navigation/frame_navigation_state.cc File chrome/browser/extensions/api/web_navigation/frame_navigation_state.cc (right): http://codereview.chromium.org/11090068/diff/1/chrome/browser/extensions/api/web_navigation/frame_navigation_state.cc#newcode106 chrome/browser/extensions/api/web_navigation/frame_navigation_state.cc:106: frame_state.parent_frame_num = -1; On 2012/10/12 ...
8 years, 2 months ago (2012-10-12 11:22:45 UTC) #7
jochen (gone - plz use gerrit)
On 2012/10/12 11:22:45, Bernhard Bauer wrote: > LGTM w/ one comment: > > http://codereview.chromium.org/11090068/diff/1/chrome/browser/extensions/api/web_navigation/frame_navigation_state.cc > ...
8 years, 2 months ago (2012-10-12 11:40:06 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/11090068/8002
8 years, 2 months ago (2012-10-12 11:40:10 UTC) #9
commit-bot: I haz the power
8 years, 2 months ago (2012-10-12 13:35:15 UTC) #10
Change committed as 161570

Powered by Google App Engine
This is Rietveld 408576698