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

Issue 14188060: Change decidePolicyForNavigation() to takea WebDataSource::ExtraData (Closed)

Created:
7 years, 8 months ago by Nate Chapin
Modified:
7 years, 7 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, jam, darin-cc_chromium.org
Visibility:
Public.

Description

Change decidePolicyForNavigation() to takea WebDataSource::ExtraData instead of a WebDataSource. It doesn't need the full WebDataSource, and WebDataSources are difficult to mock. This is a prerequisite for codereview.chromium.org/14212005 BUG=none TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=197118

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -16 lines) Patch
M content/public/renderer/document_state.h View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download
M content/public/renderer/navigation_state.h View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 2 3 4 5 6 10 chunks +33 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 3 chunks +8 lines, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 3 chunks +6 lines, -6 lines 0 comments Download
M webkit/tools/test_shell/test_webview_delegate.h View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M webkit/tools/test_shell/test_webview_delegate.cc View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Nate Chapin
7 years, 8 months ago (2013-04-24 22:51:50 UTC) #1
abarth-chromium
LGTM https://codereview.chromium.org/14188060/diff/5001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (left): https://codereview.chromium.org/14188060/diff/5001/content/renderer/render_view_impl.cc#oldcode2890 content/renderer/render_view_impl.cc:2890: DocumentState::FromDataSource(dataSource)-> Should we add a FromExtraData method ?
7 years, 8 months ago (2013-04-24 22:55:56 UTC) #2
Nate Chapin
On 2013/04/24 22:55:56, abarth wrote: > LGTM > > https://codereview.chromium.org/14188060/diff/5001/content/renderer/render_view_impl.cc > File content/renderer/render_view_impl.cc (left): > ...
7 years, 8 months ago (2013-04-24 22:58:30 UTC) #3
jamesr
lgtm
7 years, 8 months ago (2013-04-24 22:59:33 UTC) #4
jamesr
On 2013/04/24 22:58:30, Nate Chapin wrote: > On 2013/04/24 22:55:56, abarth wrote: > > LGTM ...
7 years, 8 months ago (2013-04-24 22:59:47 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/japhet@chromium.org/14188060/5001
7 years, 8 months ago (2013-04-24 23:00:58 UTC) #6
Nate Chapin
On 2013/04/24 22:59:47, jamesr wrote: > On 2013/04/24 22:58:30, Nate Chapin wrote: > > On ...
7 years, 8 months ago (2013-04-24 23:04:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/japhet@chromium.org/14188060/16001
7 years, 8 months ago (2013-04-24 23:10:04 UTC) #8
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-24 23:33:03 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/japhet@chromium.org/14188060/16001
7 years, 8 months ago (2013-04-25 17:29:23 UTC) #10
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-25 17:40:04 UTC) #11
jamesr
lgtm, but you'll need a content/public OWNERS now to check the new exports. adding piman@ ...
7 years, 8 months ago (2013-04-25 18:00:56 UTC) #12
piman
https://codereview.chromium.org/14188060/diff/44001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/14188060/diff/44001/content/renderer/render_view_impl.cc#newcode2845 content/renderer/render_view_impl.cc:2845: WebFrame* frame, WebDataSource::ExtraData* extraData, Can we pass a DocumentState* ...
7 years, 8 months ago (2013-04-25 22:03:40 UTC) #13
Nate Chapin
https://codereview.chromium.org/14188060/diff/44001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/14188060/diff/44001/content/renderer/render_view_impl.cc#newcode2845 content/renderer/render_view_impl.cc:2845: WebFrame* frame, WebDataSource::ExtraData* extraData, On 2013/04/25 22:03:40, piman wrote: ...
7 years, 8 months ago (2013-04-25 22:20:27 UTC) #14
piman
On Thu, Apr 25, 2013 at 3:20 PM, <japhet@chromium.org> wrote: > > https://codereview.chromium.**org/14188060/diff/44001/** > content/renderer/render_view_**impl.cc<https://codereview.chromium.org/14188060/diff/44001/content/renderer/render_view_impl.cc> ...
7 years, 8 months ago (2013-04-25 22:24:06 UTC) #15
Nate Chapin
On 2013/04/25 22:24:06, piman wrote: > On Thu, Apr 25, 2013 at 3:20 PM, <mailto:japhet@chromium.org> ...
7 years, 8 months ago (2013-04-25 22:32:37 UTC) #16
piman
On Thu, Apr 25, 2013 at 3:32 PM, <japhet@chromium.org> wrote: > On 2013/04/25 22:24:06, piman ...
7 years, 8 months ago (2013-04-25 22:39:27 UTC) #17
Nate Chapin
On 2013/04/25 22:39:27, piman wrote: > On Thu, Apr 25, 2013 at 3:32 PM, <mailto:japhet@chromium.org> ...
7 years, 8 months ago (2013-04-25 22:47:13 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/japhet@chromium.org/14188060/57001
7 years, 7 months ago (2013-04-29 13:56:47 UTC) #19
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-04-29 15:07:47 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/japhet@chromium.org/14188060/77001
7 years, 7 months ago (2013-04-29 17:26:26 UTC) #21
commit-bot: I haz the power
7 years, 7 months ago (2013-04-29 20:05:35 UTC) #22
Message was sent while issue was closed.
Change committed as 197118

Powered by Google App Engine
This is Rietveld 408576698