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

Issue 203853003: Merge weburlrequest_extradata_impl.cc/h into content/child/request_extra_data.cc/h (attempt #2) (Closed)

Created:
6 years, 9 months ago by pilgrim_google
Modified:
6 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, nasko+codewatch_chromium.org, creis+watch_chromium.org
Visibility:
Public.

Description

Merge weburlrequest_extradata_impl.cc/h into content/child/request_extra_data.cc/h (attempt #2) patch from issue 182383015, with changes to plugin_url_fetcher.cc, resource_dispatcher_unittest.cc, and render_frame_impl.cc to create RequestExtraData object on stack instead of with new BUG=338338 TBR=darin@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259340

Patch Set 1 #

Patch Set 2 : fix compilation error #

Patch Set 3 : initialize REquestExtraData values in constructor #

Total comments: 2

Patch Set 4 : heap allocate in render_frame_impl.cc #

Total comments: 2

Patch Set 5 : style feedback #

Total comments: 3

Patch Set 6 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -160 lines) Patch
M content/child/npapi/plugin_url_fetcher.cc View 1 2 3 4 1 chunk +3 lines, -15 lines 0 comments Download
M content/child/request_extra_data.h View 1 2 3 4 5 2 chunks +62 lines, -16 lines 0 comments Download
M content/child/request_extra_data.cc View 1 2 3 4 1 chunk +16 lines, -29 lines 0 comments Download
M content/child/resource_dispatcher_unittest.cc View 1 2 3 4 1 chunk +1 line, -6 lines 0 comments Download
M content/child/web_url_loader_impl.cc View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M content/renderer/pepper/url_request_info_util.cc View 1 2 3 4 5 3 chunks +6 lines, -4 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 5 chunks +28 lines, -22 lines 0 comments Download
M webkit/child/webkit_child.gyp View 1 chunk +0 lines, -2 lines 0 comments Download
D webkit/child/weburlrequest_extradata_impl.h View 1 chunk +0 lines, -44 lines 0 comments Download
D webkit/child/weburlrequest_extradata_impl.cc View 1 chunk +0 lines, -21 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
pilgrim_google
6 years, 9 months ago (2014-03-18 18:43:58 UTC) #1
pilgrim_google
Not sure which ASAN bot the original patch failed on. Can someone add the correct ...
6 years, 9 months ago (2014-03-18 18:47:37 UTC) #2
pilgrim_google
Also, this doesn't compile because the empty constructor is interpreted as a function declaration. :(
6 years, 9 months ago (2014-03-18 18:56:11 UTC) #3
yzshen1
On 2014/03/18 18:47:37, pilgrim_google wrote: > Not sure which ASAN bot the original patch failed ...
6 years, 9 months ago (2014-03-18 19:00:55 UTC) #4
yzshen1
On 2014/03/18 19:00:55, yzshen1 wrote: > On 2014/03/18 18:47:37, pilgrim_google wrote: > > Not sure ...
6 years, 9 months ago (2014-03-18 19:03:17 UTC) #5
jam
hi, see Michael's and my post in the original change. with those changes, lgtm
6 years, 9 months ago (2014-03-18 21:26:41 UTC) #6
pilgrim_google
The CQ bit was checked by pilgrim@chromium.org
6 years, 9 months ago (2014-03-19 19:56:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pilgrim@chromium.org/203853003/30001
6 years, 9 months ago (2014-03-19 19:58:13 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 20:01:48 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-19 20:01:49 UTC) #10
pilgrim_google
The CQ bit was checked by pilgrim@chromium.org
6 years, 9 months ago (2014-03-19 20:30:46 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pilgrim@chromium.org/203853003/30001
6 years, 9 months ago (2014-03-19 20:31:18 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 20:37:34 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-19 20:37:34 UTC) #14
michaeln
https://codereview.chromium.org/203853003/diff/30001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/203853003/diff/30001/content/renderer/render_frame_impl.cc#newcode1929 content/renderer/render_frame_impl.cc:1929: RequestExtraData extra_data; whoa... this is stack allocated shouldn't this ...
6 years, 9 months ago (2014-03-20 00:10:42 UTC) #15
michaeln
https://codereview.chromium.org/203853003/diff/30001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/203853003/diff/30001/content/renderer/render_frame_impl.cc#newcode1929 content/renderer/render_frame_impl.cc:1929: RequestExtraData extra_data; On 2014/03/20 00:10:43, michaeln wrote: > whoa... ...
6 years, 9 months ago (2014-03-20 00:48:25 UTC) #16
pilgrim_google
On 2014/03/20 00:48:25, michaeln wrote: > Please heap allocate the extra_data here since ownership of ...
6 years, 9 months ago (2014-03-20 14:54:19 UTC) #17
jam
https://codereview.chromium.org/203853003/diff/50001/content/child/request_extra_data.cc File content/child/request_extra_data.cc (right): https://codereview.chromium.org/203853003/diff/50001/content/child/request_extra_data.cc#newcode15 content/child/request_extra_data.cc:15: set_visibility_state(blink::WebPageVisibilityStateVisible); use initialization list here, i.e. RequestExtraData::RequestExtraData() : visibility_state_(blink::WebPageVisibilityStateVisible), ...
6 years, 9 months ago (2014-03-20 17:16:43 UTC) #18
michaeln
any chance this can get committed soon?
6 years, 9 months ago (2014-03-24 19:53:45 UTC) #19
pilgrim_google
On 2014/03/24 19:53:45, michaeln wrote: > any chance this can get committed soon? Yup.
6 years, 9 months ago (2014-03-24 20:56:32 UTC) #20
pilgrim_google
The CQ bit was checked by pilgrim@chromium.org
6 years, 9 months ago (2014-03-25 16:28:37 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pilgrim@chromium.org/203853003/70001
6 years, 9 months ago (2014-03-25 16:30:54 UTC) #22
jam
https://codereview.chromium.org/203853003/diff/70001/content/child/request_extra_data.h File content/child/request_extra_data.h (right): https://codereview.chromium.org/203853003/diff/70001/content/child/request_extra_data.h#newcode52 content/child/request_extra_data.h:52: return custom_user_agent_; nit: here and in the next few ...
6 years, 9 months ago (2014-03-25 17:30:06 UTC) #23
jam
The CQ bit was unchecked by jam@chromium.org
6 years, 9 months ago (2014-03-25 17:30:13 UTC) #24
pilgrim_google
The CQ bit was checked by pilgrim@chromium.org
6 years, 9 months ago (2014-03-25 18:49:31 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pilgrim@chromium.org/203853003/260001
6 years, 9 months ago (2014-03-25 18:50:03 UTC) #26
jam
lgtm
6 years, 9 months ago (2014-03-25 19:24:03 UTC) #27
commit-bot: I haz the power
6 years, 9 months ago (2014-03-25 21:35:05 UTC) #28
Message was sent while issue was closed.
Change committed as 259340

Powered by Google App Engine
This is Rietveld 408576698