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

Issue 2249373002: Make Resource MemoryCoordinatorClient. (Closed)

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

Description

Make Resource MemoryCoordinatorClient: - implement prepareToSuspend for background renderer's purge + suspend. prepareToSuspend is invoked before a background renderer is suspended. - intent-to-implement-and-ship of background renderer's purge + suspend is https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/DK189tnM8l4 - one of the documents attached in the above intent is https://docs.google.com/document/d/1EgLimgxWK5DGhptnNVbEGSvVn6Q609ZJaBkLjEPRJvI/edit?usp=sharing BUG=635419 Committed: https://crrev.com/17888b419ca845a6762aae5287b449424997cc88 Cr-Commit-Position: refs/heads/master@{#414425}

Patch Set 1 #

Patch Set 2 : Protect CachedMetadata #

Patch Set 3 : Updated Resource::trace() #

Patch Set 4 : Removed unregisterClient. #

Total comments: 2

Patch Set 5 : Added comment #

Total comments: 4

Messages

Total messages: 50 (38 generated)
tasak
Would you review this CL?
4 years, 4 months ago (2016-08-17 08:10:51 UTC) #7
haraken
LGTM on my side. yhirano@: Does it look good?
4 years, 4 months ago (2016-08-17 08:15:55 UTC) #9
yhirano
I guess clients may assume a cached metadata will not be cleared if they retain ...
4 years, 4 months ago (2016-08-17 09:00:11 UTC) #10
tasak
Thank you. On 2016/08/17 09:00:11, yhirano wrote: > I guess clients may assume a cached ...
4 years, 4 months ago (2016-08-17 11:22:11 UTC) #11
tasak
I updated the patch to protect CachedMetadata, i.e. RefPtr<CachedMetadata> codeCache(); .... So would you review ...
4 years, 3 months ago (2016-08-23 11:12:30 UTC) #29
tasak
hiroshige@, would you review this CL?
4 years, 3 months ago (2016-08-24 11:53:48 UTC) #35
yhirano
lgtm https://codereview.chromium.org/2249373002/diff/100001/third_party/WebKit/Source/core/fetch/CachedMetadataHandler.h File third_party/WebKit/Source/core/fetch/CachedMetadataHandler.h (right): https://codereview.chromium.org/2249373002/diff/100001/third_party/WebKit/Source/core/fetch/CachedMetadataHandler.h#newcode30 third_party/WebKit/Source/core/fetch/CachedMetadataHandler.h:30: // Returns cached metadata of the given type ...
4 years, 3 months ago (2016-08-25 01:25:12 UTC) #38
tasak
Thank you. https://codereview.chromium.org/2249373002/diff/100001/third_party/WebKit/Source/core/fetch/CachedMetadataHandler.h File third_party/WebKit/Source/core/fetch/CachedMetadataHandler.h (right): https://codereview.chromium.org/2249373002/diff/100001/third_party/WebKit/Source/core/fetch/CachedMetadataHandler.h#newcode30 third_party/WebKit/Source/core/fetch/CachedMetadataHandler.h:30: // Returns cached metadata of the given ...
4 years, 3 months ago (2016-08-25 10:33:50 UTC) #41
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/2249373002/120001
4 years, 3 months ago (2016-08-25 10:34:40 UTC) #45
hiroshige
Can we add tests to prepareToSuspend()? https://codereview.chromium.org/2249373002/diff/120001/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp File third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp (right): https://codereview.chromium.org/2249373002/diff/120001/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp#newcode293 third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp:293: if (codeCache.get()) { ...
4 years, 3 months ago (2016-08-25 12:48:11 UTC) #46
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 3 months ago (2016-08-25 14:00:16 UTC) #48
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 14:02:01 UTC) #50
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/17888b419ca845a6762aae5287b449424997cc88
Cr-Commit-Position: refs/heads/master@{#414425}

Powered by Google App Engine
This is Rietveld 408576698