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 2117313002: Remove WebURLResponse::initialize() [revised] (Closed)

Created:
4 years, 5 months ago by kinuko
Modified:
4 years, 5 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dglazkov+blink, feature-media-reviews_chromium.org, gavinp+loader_chromium.org, jam, Nate Chapin, kinuko+watch, loading-reviews+fetch_chromium.org, loading-reviews_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove WebURLResponse::initialize() The implementation of WebURLResponse::initialize() was trivial and could easily be moved to the constructor. Remove it. Also remove the public assign() method and the reset() method. BUG=625529 patch from issue 2120233003 at patchset 40001 (http://crrev.com/2120233003#ps40001) Committed: https://crrev.com/1a1f044d3edb9634238a267b9ec7186dd7933581 Cr-Commit-Position: refs/heads/master@{#404279}

Patch Set 1 : original patch by Adam #

Patch Set 2 : #

Total comments: 9

Patch Set 3 : unique_ptr, and don't support copying into Wrapped one #

Patch Set 4 : minor cleanup #

Total comments: 2

Patch Set 5 : dcheng fix #

Patch Set 6 : cleanups #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -113 lines) Patch
M content/child/web_url_loader_impl.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M content/child/web_url_loader_impl_unittest.cc View 1 2 3 5 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M media/blink/cache_util_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/MultipartImageResourceParserTest.cpp View 3 chunks +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceLoader.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp View 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebURLResponse.cpp View 1 2 3 4 4 chunks +33 lines, -26 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebURLResponsePrivate.h View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WrappedResourceResponse.h View 1 2 3 4 5 1 chunk +10 lines, -27 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/URLTestHelpers.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/AssociatedURLLoaderTest.cpp View 16 chunks +0 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/web/WebDataSourceImpl.cpp View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebEmbeddedWorkerImplTest.cpp View 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/FrameSerializerTest.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 1 2 3 5 3 chunks +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebURLResponseTest.cpp View 2 3 4 5 3 chunks +15 lines, -1 line 0 comments Download
M third_party/WebKit/public/platform/WebURLResponse.h View 1 2 3 4 5 3 chunks +15 lines, -19 lines 0 comments Download

Messages

Total messages: 57 (25 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2117313002/40001
4 years, 5 months ago (2016-07-05 15:39:11 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-05 17:00:52 UTC) #6
Adam Rice
https://codereview.chromium.org/2117313002/diff/40001/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp File third_party/WebKit/Source/platform/exported/WebURLResponse.cpp (right): https://codereview.chromium.org/2117313002/diff/40001/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp#newcode125 third_party/WebKit/Source/platform/exported/WebURLResponse.cpp:125: m_private->setResourceResponse(*r.m_private->resourceResponse()); This changes behaviour if m_private is a WrappedResourceResponse::Handle. ...
4 years, 5 months ago (2016-07-06 01:39:00 UTC) #8
kinuko
https://codereview.chromium.org/2117313002/diff/40001/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp File third_party/WebKit/Source/platform/exported/WebURLResponse.cpp (right): https://codereview.chromium.org/2117313002/diff/40001/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp#newcode125 third_party/WebKit/Source/platform/exported/WebURLResponse.cpp:125: m_private->setResourceResponse(*r.m_private->resourceResponse()); On 2016/07/06 01:39:00, Adam Rice wrote: > This ...
4 years, 5 months ago (2016-07-06 09:45:57 UTC) #9
Adam Rice
https://codereview.chromium.org/2117313002/diff/40001/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp File third_party/WebKit/Source/platform/exported/WebURLResponse.cpp (right): https://codereview.chromium.org/2117313002/diff/40001/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp#newcode125 third_party/WebKit/Source/platform/exported/WebURLResponse.cpp:125: m_private->setResourceResponse(*r.m_private->resourceResponse()); On 2016/07/06 09:45:57, kinuko wrote: > On 2016/07/06 ...
4 years, 5 months ago (2016-07-06 10:06:50 UTC) #10
kinuko
https://codereview.chromium.org/2117313002/diff/40001/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp File third_party/WebKit/Source/platform/exported/WebURLResponse.cpp (right): https://codereview.chromium.org/2117313002/diff/40001/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp#newcode125 third_party/WebKit/Source/platform/exported/WebURLResponse.cpp:125: m_private->setResourceResponse(*r.m_private->resourceResponse()); On 2016/07/06 10:06:50, Adam Rice wrote: > On ...
4 years, 5 months ago (2016-07-06 11:06:33 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2117313002/60001
4 years, 5 months ago (2016-07-06 17:05:23 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2117313002/80001
4 years, 5 months ago (2016-07-06 17:07:35 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_clang on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/48458)
4 years, 5 months ago (2016-07-06 17:18:45 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2117313002/100001
4 years, 5 months ago (2016-07-06 18:18:01 UTC) #20
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-06 21:08:10 UTC) #22
kinuko
Uploaded a new patch. Reg: copying wrapped ones via base refs/ptrs I started to feel ...
4 years, 5 months ago (2016-07-06 23:19:12 UTC) #23
Adam Rice
lgtm https://codereview.chromium.org/2117313002/diff/40001/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp File third_party/WebKit/Source/platform/exported/WebURLResponse.cpp (right): https://codereview.chromium.org/2117313002/diff/40001/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp#newcode125 third_party/WebKit/Source/platform/exported/WebURLResponse.cpp:125: m_private->setResourceResponse(*r.m_private->resourceResponse()); On 2016/07/06 11:06:33, kinuko wrote: > On ...
4 years, 5 months ago (2016-07-07 01:32:48 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2117313002/120001
4 years, 5 months ago (2016-07-07 03:11:21 UTC) #26
kinuko
Thanks Adam! dcheng@- can you probably review changes in Source/web (and maybe also in public/)?
4 years, 5 months ago (2016-07-07 03:23:26 UTC) #28
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-07 04:33:12 UTC) #30
dcheng
https://codereview.chromium.org/2117313002/diff/120001/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp File third_party/WebKit/Source/platform/exported/WebURLResponse.cpp (right): https://codereview.chromium.org/2117313002/diff/120001/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp#newcode127 third_party/WebKit/Source/platform/exported/WebURLResponse.cpp:127: return !m_private->m_resourceResponse || m_private->m_resourceResponse->isNull(); It looks like this can ...
4 years, 5 months ago (2016-07-07 05:02:50 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2117313002/140001
4 years, 5 months ago (2016-07-07 06:20:45 UTC) #33
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-07 07:30:23 UTC) #35
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2117313002/160001
4 years, 5 months ago (2016-07-07 09:21:17 UTC) #37
kinuko
https://codereview.chromium.org/2117313002/diff/120001/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp File third_party/WebKit/Source/platform/exported/WebURLResponse.cpp (right): https://codereview.chromium.org/2117313002/diff/120001/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp#newcode127 third_party/WebKit/Source/platform/exported/WebURLResponse.cpp:127: return !m_private->m_resourceResponse || m_private->m_resourceResponse->isNull(); On 2016/07/07 05:02:50, dcheng wrote: ...
4 years, 5 months ago (2016-07-07 09:23:04 UTC) #38
kinuko
On 2016/07/07 09:23:04, kinuko wrote: > https://codereview.chromium.org/2117313002/diff/120001/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp > File third_party/WebKit/Source/platform/exported/WebURLResponse.cpp (right): > > https://codereview.chromium.org/2117313002/diff/120001/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp#newcode127 > ...
4 years, 5 months ago (2016-07-07 09:25:45 UTC) #39
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2117313002/180001
4 years, 5 months ago (2016-07-07 09:26:58 UTC) #42
kinuko
ok, PTAL
4 years, 5 months ago (2016-07-07 09:29:56 UTC) #43
dcheng
LGTM
4 years, 5 months ago (2016-07-07 09:54:19 UTC) #44
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-07 10:40:20 UTC) #46
kinuko
Dale: can you review media/ changes? (It's refactoring-related one-liner change, might just TBR)
4 years, 5 months ago (2016-07-07 12:47:17 UTC) #48
DaleCurtis
lgtm
4 years, 5 months ago (2016-07-07 20:35:43 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2117313002/180001
4 years, 5 months ago (2016-07-08 00:34:35 UTC) #52
commit-bot: I haz the power
Committed patchset #6 (id:180001)
4 years, 5 months ago (2016-07-08 00:46:17 UTC) #54
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-08 00:46:20 UTC) #55
commit-bot: I haz the power
4 years, 5 months ago (2016-07-08 00:47:45 UTC) #57
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/1a1f044d3edb9634238a267b9ec7186dd7933581
Cr-Commit-Position: refs/heads/master@{#404279}

Powered by Google App Engine
This is Rietveld 408576698