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

Issue 1747833003: Make ResourceFetcher not to rely on MemoryCache to serve static data (Closed)

Created:
4 years, 9 months ago by hiroshige
Modified:
4 years, 9 months ago
Reviewers:
Nate Chapin
CC:
chromium-reviews, tyoshino+watch_chromium.org, Yoav Weiss, gavinp+loader_chromium.org, blink-reviews, loading-reviews+fetch_chromium.org, Nate Chapin
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make ResourceFetcher not to rely on MemoryCache to serve static data Previously, Resource for static data (data URLs or SubstituteData) are created and added to MemoryCache in ResourceFetcher::preCacheData(), and then looked up from MemoryCache. This CL passes Resource created there as the return value, not via MemoryCache. This CL also renames preCacheData() to resourceForStaticData(). This CL doesn't change the behavior because resourceForStaticData() still always adds newly created Resource to MemoryCache. BUG=591079, 382170 Committed: https://crrev.com/7fdc1e4512c4aeeb39415656da42fbc67d2a94e6 Cr-Commit-Position: refs/heads/master@{#378483}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -7 lines) Patch
M third_party/WebKit/Source/core/fetch/ResourceFetcher.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp View 1 2 5 chunks +9 lines, -6 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 24 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1747833003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1747833003/1
4 years, 9 months ago (2016-02-29 20:11:45 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/132449)
4 years, 9 months ago (2016-02-29 20:57:03 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1747833003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1747833003/20001
4 years, 9 months ago (2016-02-29 21:08:34 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1747833003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1747833003/40001
4 years, 9 months ago (2016-02-29 21:10:20 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/29042)
4 years, 9 months ago (2016-02-29 21:32:43 UTC) #11
hiroshige
PTAL.
4 years, 9 months ago (2016-03-01 17:44:15 UTC) #14
Nate Chapin
4 years, 9 months ago (2016-03-01 17:46:59 UTC) #16
Nate Chapin
lgtm
4 years, 9 months ago (2016-03-01 17:47:03 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1747833003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1747833003/40001
4 years, 9 months ago (2016-03-01 17:56:03 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-01 18:21:07 UTC) #22
commit-bot: I haz the power
4 years, 9 months ago (2016-03-01 18:23:27 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7fdc1e4512c4aeeb39415656da42fbc67d2a94e6
Cr-Commit-Position: refs/heads/master@{#378483}

Powered by Google App Engine
This is Rietveld 408576698