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

Issue 2358433003: Make RendererFrameManager a client of memory coordinator (Closed)

Created:
4 years, 3 months ago by hajimehoshi
Modified:
4 years, 1 month ago
CC:
chromium-reviews, jam, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make RendererFrameManager a client of memory coordinator When the memory coordinator is enabled, RendererFrameManager becomes a client of the memory coordinator instead of installing MemoryPressureListener. Design Doc: https://docs.google.com/document/d/1a69mMr7jI7qK0OfKNlrZ350xiXizVMCCe8orGX7K8Uo/edit?ts=57d7968b# BUG=639700 Committed: https://crrev.com/5ebca45f1d3a2a62bafb887229a29ae0ec5a83bd Cr-Commit-Position: refs/heads/master@{#427627}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address on bashi's review #

Total comments: 8

Patch Set 3 : Address on reviews #

Patch Set 4 : Remove comments that indicated TODOs in a different component #

Patch Set 5 : Remove a condition for initialization #

Patch Set 6 : Use MemoryCoordinatorProxy::GetCurrentMemoryState #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -30 lines) Patch
M content/browser/renderer_host/renderer_frame_manager.h View 1 2 3 4 5 3 chunks +11 lines, -3 lines 0 comments Download
M content/browser/renderer_host/renderer_frame_manager.cc View 1 2 3 4 5 3 chunks +64 lines, -27 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 40 (19 generated)
hajimehoshi
PTAL
4 years, 3 months ago (2016-09-20 07:14:46 UTC) #4
bashi
https://codereview.chromium.org/2358433003/diff/40001/content/browser/renderer_host/renderer_frame_manager.cc File content/browser/renderer_host/renderer_frame_manager.cc (right): https://codereview.chromium.org/2358433003/diff/40001/content/browser/renderer_host/renderer_frame_manager.cc#newcode99 content/browser/renderer_host/renderer_frame_manager.cc:99: int percentage = 100; Remove?
4 years, 3 months ago (2016-09-20 07:56:51 UTC) #9
hajimehoshi
https://codereview.chromium.org/2358433003/diff/40001/content/browser/renderer_host/renderer_frame_manager.cc File content/browser/renderer_host/renderer_frame_manager.cc (right): https://codereview.chromium.org/2358433003/diff/40001/content/browser/renderer_host/renderer_frame_manager.cc#newcode99 content/browser/renderer_host/renderer_frame_manager.cc:99: int percentage = 100; On 2016/09/20 07:56:51, bashi1 (slow ...
4 years, 3 months ago (2016-09-20 08:09:43 UTC) #10
hajimehoshi
ping
4 years, 2 months ago (2016-09-26 11:37:39 UTC) #15
chrisha
https://codereview.chromium.org/2358433003/diff/60001/content/browser/renderer_host/renderer_frame_manager.cc File content/browser/renderer_host/renderer_frame_manager.cc (right): https://codereview.chromium.org/2358433003/diff/60001/content/browser/renderer_host/renderer_frame_manager.cc#newcode79 content/browser/renderer_host/renderer_frame_manager.cc:79: switch (memory_state_) { Presumably the thing that assigned the ...
4 years, 2 months ago (2016-09-26 14:26:22 UTC) #16
sadrul
I have a couple of nit-y suggestions, but I don't think I am a good ...
4 years, 2 months ago (2016-09-26 20:04:20 UTC) #17
hajimehoshi
Thank you! https://codereview.chromium.org/2358433003/diff/60001/content/browser/renderer_host/renderer_frame_manager.cc File content/browser/renderer_host/renderer_frame_manager.cc (right): https://codereview.chromium.org/2358433003/diff/60001/content/browser/renderer_host/renderer_frame_manager.cc#newcode79 content/browser/renderer_host/renderer_frame_manager.cc:79: switch (memory_state_) { On 2016/09/26 14:26:22, chrisha ...
4 years, 2 months ago (2016-09-28 07:31:10 UTC) #18
hajimehoshi
+haraken
4 years, 2 months ago (2016-09-28 07:40:32 UTC) #20
haraken
Currently we only have only one API, so using callback function would make more sense ...
4 years, 2 months ago (2016-09-28 08:56:18 UTC) #21
hajimehoshi
On 2016/09/28 08:56:18, haraken wrote: > Currently we only have only one API, so using ...
4 years, 2 months ago (2016-10-11 07:12:55 UTC) #26
sadrul
On 2016/10/11 07:12:55, hajimehoshi wrote: > On 2016/09/28 08:56:18, haraken wrote: > > Currently we ...
4 years, 2 months ago (2016-10-11 16:28:08 UTC) #27
haraken
On 2016/10/11 16:28:08, sadrul wrote: > On 2016/10/11 07:12:55, hajimehoshi wrote: > > On 2016/09/28 ...
4 years, 2 months ago (2016-10-12 00:18:49 UTC) #28
sadrul
On 2016/10/12 00:18:49, haraken wrote: > On 2016/10/11 16:28:08, sadrul wrote: > > On 2016/10/11 ...
4 years, 2 months ago (2016-10-12 00:21:34 UTC) #29
haraken
On 2016/10/12 00:21:34, sadrul wrote: > On 2016/10/12 00:18:49, haraken wrote: > > On 2016/10/11 ...
4 years, 2 months ago (2016-10-12 00:27:31 UTC) #30
sadrul
On 2016/10/12 00:27:31, haraken wrote: > On 2016/10/12 00:21:34, sadrul wrote: > > On 2016/10/12 ...
4 years, 2 months ago (2016-10-12 00:33:28 UTC) #31
hajimehoshi
+avi PTAL
4 years, 1 month ago (2016-10-25 08:38:55 UTC) #33
haraken
LGTM
4 years, 1 month ago (2016-10-25 09:33:36 UTC) #34
Avi (use Gerrit)
LGTM Looking forward to the switchover when we can drop the duplicate code.
4 years, 1 month ago (2016-10-25 15:14:36 UTC) #35
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/2358433003/140001
4 years, 1 month ago (2016-10-26 06:39:16 UTC) #37
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years, 1 month ago (2016-10-26 07:30:45 UTC) #38
commit-bot: I haz the power
4 years, 1 month ago (2016-10-26 07:32:48 UTC) #40
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5ebca45f1d3a2a62bafb887229a29ae0ec5a83bd
Cr-Commit-Position: refs/heads/master@{#427627}

Powered by Google App Engine
This is Rietveld 408576698