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

Issue 2140523002: Remove WebURLRequest::initialize() and simplify WebURLRequest (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, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove WebURLRequest::initialize() and simplify WebURLRequest Does the same as we did for WebURLResponse in https://crrev.com/2117313002 and https://crrev.com/2133693002. BUG=625529 TBR=jochen@chromium.org for components Committed: https://crrev.com/a2b5c2e4f27582316b4bb7d55d1a456ef8480aca Cr-Commit-Position: refs/heads/master@{#404894}

Patch Set 1 #

Patch Set 2 #

Total comments: 5

Patch Set 3 : address dcheng's comment, fix more files #

Patch Set 4 : mutable ref #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -280 lines) Patch
M components/nacl/renderer/ppb_nacl_private_impl.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M components/plugins/renderer/mobile_youtube_plugin.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/child/web_url_loader_impl.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/child/web_url_loader_impl_unittest.cc View 1 2 9 chunks +0 lines, -9 lines 0 comments Download
M content/renderer/fetchers/resource_fetcher_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/fetchers/resource_fetcher_impl.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/pepper/url_request_info_util.cc View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/blink_platform.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/exported/WebURLRequest.cpp View 1 2 3 5 chunks +105 lines, -113 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebURLRequestPrivate.h View 1 chunk +0 lines, -56 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebURLResponse.cpp View 1 2 3 2 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WrappedResourceRequest.h View 1 2 3 1 chunk +8 lines, -33 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WrappedResourceResponse.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/AssociatedURLLoaderTest.cpp View 18 chunks +0 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/web/WebDataSourceImpl.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 3 chunks +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebURLRequestTest.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/WebViewTest.cpp View 3 chunks +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/tests/sim/SimTest.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/public/platform/WebURLRequest.h View 1 2 3 4 chunks +19 lines, -23 lines 0 comments Download
M third_party/WebKit/public/platform/WebURLResponse.h View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 54 (38 generated)
kinuko
Similar cleanup for WebURLRequest... PTL
4 years, 5 months ago (2016-07-11 09:42:20 UTC) #10
dcheng
https://codereview.chromium.org/2140523002/diff/40001/content/renderer/fetchers/resource_fetcher_impl.cc File content/renderer/fetchers/resource_fetcher_impl.cc (right): https://codereview.chromium.org/2140523002/diff/40001/content/renderer/fetchers/resource_fetcher_impl.cc#newcode126 content/renderer/fetchers/resource_fetcher_impl.cc:126: request_.setURL(GURL()); It's a bit unexpected that this is the ...
4 years, 5 months ago (2016-07-11 09:47:50 UTC) #13
kinuko
https://codereview.chromium.org/2140523002/diff/40001/content/renderer/fetchers/resource_fetcher_impl.cc File content/renderer/fetchers/resource_fetcher_impl.cc (right): https://codereview.chromium.org/2140523002/diff/40001/content/renderer/fetchers/resource_fetcher_impl.cc#newcode126 content/renderer/fetchers/resource_fetcher_impl.cc:126: request_.setURL(GURL()); On 2016/07/11 09:47:50, dcheng wrote: > It's a ...
4 years, 5 months ago (2016-07-11 09:54:23 UTC) #14
Adam Rice
lgtm
4 years, 5 months ago (2016-07-12 04:17:55 UTC) #31
kinuko
Thanks Adam. dcheng - ptal https://codereview.chromium.org/2140523002/diff/40001/content/renderer/fetchers/resource_fetcher_impl.cc File content/renderer/fetchers/resource_fetcher_impl.cc (right): https://codereview.chromium.org/2140523002/diff/40001/content/renderer/fetchers/resource_fetcher_impl.cc#newcode126 content/renderer/fetchers/resource_fetcher_impl.cc:126: request_.setURL(GURL()); On 2016/07/11 09:47:50, ...
4 years, 5 months ago (2016-07-12 04:19:57 UTC) #32
dcheng
LGTM
4 years, 5 months ago (2016-07-12 04:46:55 UTC) #33
kinuko
TBR-ing jochen@ for refactoring-related one-liner changes in components/. (Feel free to uncheck CQ if it ...
4 years, 5 months ago (2016-07-12 05:30:18 UTC) #38
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/2140523002/120001
4 years, 5 months ago (2016-07-12 05:32:30 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/260743)
4 years, 5 months ago (2016-07-12 08:22:16 UTC) #42
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/2140523002/120001
4 years, 5 months ago (2016-07-12 08:37:56 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/191040)
4 years, 5 months ago (2016-07-12 10:57:23 UTC) #46
jochen (gone - plz use gerrit)
lgtm
4 years, 5 months ago (2016-07-12 15:15:44 UTC) #47
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/2140523002/120001
4 years, 5 months ago (2016-07-13 00:27:24 UTC) #49
commit-bot: I haz the power
Committed patchset #4 (id:120001)
4 years, 5 months ago (2016-07-13 02:12:53 UTC) #51
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 02:14:11 UTC) #52
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 02:15:04 UTC) #54
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a2b5c2e4f27582316b4bb7d55d1a456ef8480aca
Cr-Commit-Position: refs/heads/master@{#404894}

Powered by Google App Engine
This is Rietveld 408576698