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 2399473002: Remove Resource::create() to ensure proper subclasses of Resource are created (Closed)

Created:
4 years, 2 months ago by hiroshige
Modified:
4 years, 2 months ago
Reviewers:
Nate Chapin, Mike West
CC:
blink-reviews, chromium-reviews, gavinp+loader_chromium.org, Nate Chapin, loading-reviews_chromium.org, loading-reviews+fetch_chromium.org, tyoshino+watch_chromium.org, Yoav Weiss
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove Resource::create() to ensure proper subclasses of Resource are created - Resource::create() -> RawResource::create() etc. - requestResource() + TestResourceFactory -> RawResource::fetch() etc. BUG=652999 Committed: https://crrev.com/1ce92d73d9adf9b97c1e7e207ea52867b32621e0 Cr-Commit-Position: refs/heads/master@{#423454}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add CORE_EXPORT to FontResource to fix debug build failure #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -122 lines) Patch
M third_party/WebKit/Source/core/fetch/CachingCorrectnessTest.cpp View 8 chunks +9 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/FontResource.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/MemoryCacheTest.cpp View 5 chunks +12 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/Resource.h View 1 2 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp View 1 2 27 chunks +79 lines, -88 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceTest.cpp View 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/frame/SubresourceIntegrityTest.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (18 generated)
hiroshige
PTAL. https://codereview.chromium.org/2399473002/diff/1/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp File third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp (right): https://codereview.chromium.org/2399473002/diff/1/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp#newcode145 third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp:145: url, testImageFilename, WebString::fromUTF8(""), This is used to set ...
4 years, 2 months ago (2016-10-05 08:03:19 UTC) #5
Mike West
LGTM!
4 years, 2 months ago (2016-10-05 12:36:20 UTC) #12
Nate Chapin
LGTM :D
4 years, 2 months ago (2016-10-05 18:01:51 UTC) #14
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/2399473002/20001
4 years, 2 months ago (2016-10-06 05:03:47 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/275047)
4 years, 2 months ago (2016-10-06 05:13:06 UTC) #19
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/2399473002/40001
4 years, 2 months ago (2016-10-06 05:30:54 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-06 06:50:15 UTC) #24
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 06:52:24 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1ce92d73d9adf9b97c1e7e207ea52867b32621e0
Cr-Commit-Position: refs/heads/master@{#423454}

Powered by Google App Engine
This is Rietveld 408576698