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

Issue 182383015: Merge weburlrequest_extradata_impl.cc/h into content/child/request_extra_data.cc/h (Closed)

Created:
6 years, 9 months ago by pilgrim_google
Modified:
6 years, 7 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jamesr, tfarina
Visibility:
Public.

Description

Merge weburlrequest_extradata_impl.cc/h into content/child/request_extra_data.cc/h. Change to empty constructor and use individual setters for each value. BUG=338338 TBR=darin@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257655

Patch Set 1 #

Patch Set 2 : address all feedback #

Total comments: 1

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -162 lines) Patch
M content/child/npapi/plugin_url_fetcher.cc View 1 1 chunk +16 lines, -16 lines 0 comments Download
M content/child/request_extra_data.h View 1 2 chunks +28 lines, -16 lines 0 comments Download
M content/child/request_extra_data.cc View 1 1 chunk +64 lines, -29 lines 0 comments Download
M content/child/resource_dispatcher_unittest.cc View 1 1 chunk +16 lines, -7 lines 1 comment 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 3 chunks +6 lines, -4 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 5 chunks +28 lines, -22 lines 2 comments Download
M webkit/child/webkit_child.gyp View 1 2 3 4 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: 23 (0 generated)
pilgrim_google
6 years, 9 months ago (2014-03-04 18:31:00 UTC) #1
jam
I think we can simplify this further. some of this complexity was because before we ...
6 years, 9 months ago (2014-03-04 19:25:40 UTC) #2
pilgrim_google
6 years, 9 months ago (2014-03-11 18:47:09 UTC) #3
jam
lgtm with comment https://codereview.chromium.org/182383015/diff/20001/content/child/request_extra_data.h File content/child/request_extra_data.h (right): https://codereview.chromium.org/182383015/diff/20001/content/child/request_extra_data.h#newcode19 content/child/request_extra_data.h:19: class CONTENT_EXPORT RequestExtraData actually, since there's ...
6 years, 9 months ago (2014-03-12 00:32:01 UTC) #4
pilgrim_google
On 2014/03/12 00:32:01, jam wrote: > actually, since there's no logic, this should just be ...
6 years, 9 months ago (2014-03-12 13:44:26 UTC) #5
pilgrim_google
On 2014/03/12 00:32:01, jam wrote: > lgtm with comment > > https://codereview.chromium.org/182383015/diff/20001/content/child/request_extra_data.h > File content/child/request_extra_data.h ...
6 years, 9 months ago (2014-03-12 13:52:21 UTC) #6
pilgrim_google
The CQ bit was checked by pilgrim@chromium.org
6 years, 9 months ago (2014-03-17 14:28:59 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/182383015/60001
6 years, 9 months ago (2014-03-17 14:29:14 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-17 14:49:11 UTC) #9
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=55649
6 years, 9 months ago (2014-03-17 14:49:12 UTC) #10
pilgrim_google
The CQ bit was checked by pilgrim@chromium.org
6 years, 9 months ago (2014-03-17 15:11:21 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/182383015/60001
6 years, 9 months ago (2014-03-17 15:11:33 UTC) #12
jamesr
lgtm
6 years, 9 months ago (2014-03-17 21:41:22 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 06:36:02 UTC) #14
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test on builder ...
6 years, 9 months ago (2014-03-18 06:36:03 UTC) #15
pilgrim_google
The CQ bit was checked by pilgrim@chromium.org
6 years, 9 months ago (2014-03-18 13:22:19 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pilgrim@chromium.org/182383015/80001
6 years, 9 months ago (2014-03-18 13:22:25 UTC) #17
commit-bot: I haz the power
Change committed as 257655
6 years, 9 months ago (2014-03-18 16:22:28 UTC) #18
jam
https://codereview.chromium.org/182383015/diff/80001/content/child/resource_dispatcher_unittest.cc File content/child/resource_dispatcher_unittest.cc (right): https://codereview.chromium.org/182383015/diff/80001/content/child/resource_dispatcher_unittest.cc#newcode176 content/child/resource_dispatcher_unittest.cc:176: RequestExtraData* extra_data = new RequestExtraData(); looks like this is ...
6 years, 9 months ago (2014-03-18 18:28:12 UTC) #19
pilgrim_google
On 2014/03/18 18:28:12, jam wrote: > https://codereview.chromium.org/182383015/diff/80001/content/child/resource_dispatcher_unittest.cc > File content/child/resource_dispatcher_unittest.cc (right): > > https://codereview.chromium.org/182383015/diff/80001/content/child/resource_dispatcher_unittest.cc#newcode176 > ...
6 years, 9 months ago (2014-03-18 18:48:16 UTC) #20
michaeln
drive-by-comment https://codereview.chromium.org/182383015/diff/80001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/182383015/diff/80001/content/renderer/render_frame_impl.cc#newcode1828 content/renderer/render_frame_impl.cc:1828: extra_data->set_was_after_preconnect_request(was_after_preconnect_request); looks like this leaves data members uninitialized ...
6 years, 9 months ago (2014-03-18 20:11:06 UTC) #21
jam
https://codereview.chromium.org/182383015/diff/80001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/182383015/diff/80001/content/renderer/render_frame_impl.cc#newcode1828 content/renderer/render_frame_impl.cc:1828: extra_data->set_was_after_preconnect_request(was_after_preconnect_request); On 2014/03/18 20:11:07, michaeln wrote: > looks like ...
6 years, 9 months ago (2014-03-18 21:25:34 UTC) #22
pilgrim_google
6 years, 9 months ago (2014-03-19 19:57:38 UTC) #23
Message was sent while issue was closed.
On 2014/03/18 21:25:34, jam wrote:
>
https://codereview.chromium.org/182383015/diff/80001/content/renderer/render_...
> File content/renderer/render_frame_impl.cc (right):
> 
>
https://codereview.chromium.org/182383015/diff/80001/content/renderer/render_...
> content/renderer/render_frame_impl.cc:1828:
> extra_data->set_was_after_preconnect_request(was_after_preconnect_request);
> On 2014/03/18 20:11:07, michaeln wrote:
> > looks like this leaves data members uninitialized which could be dicey,
should
> > the default ctor set default values?
> 
> good point, I didn't notice that RequestExtraData's constructor doesn't
> intialize to sane values. Mark: can you change it so that it sets the values
up.
> then things like plugin_url_fetcher and Michael's new usage only have to
change
> what they need instead of initializing everything

Fixed in https://codereview.chromium.org/203853003/

Powered by Google App Engine
This is Rietveld 408576698