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

Issue 2681643003: Expose DiscardTab() to MemoryCoordiantor (Closed)

Created:
3 years, 10 months ago by bashi
Modified:
3 years, 10 months ago
Reviewers:
haraken, kinuko, chrisha
CC:
chromium-reviews, jam, darin-cc_chromium.org, fmeawad
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expose DiscardTab() to MemoryCoordiantor Expose TabManager::DiscardTab() to MemoryCoordinator via MemoryCoordinatorDelegate so that MemoryCoordinator can trigger tab discarding. This is a preparation for MC/tab discarding integration[1]. [1] https://docs.google.com/document/d/1QZb1qKR0Jr0pnfy-kks7Cj5rk4wm-cPHRJskQeLbZlw/edit#heading=h.1h4dixj922dt BUG=689363 Review-Url: https://codereview.chromium.org/2681643003 Cr-Commit-Position: refs/heads/master@{#452731} Committed: https://chromium.googlesource.com/chromium/src/+/8c4c9243dfc3d8ef05562ae4e3f858956ec4ae14

Patch Set 1 #

Patch Set 2 : tests #

Patch Set 3 : fix compile error on android #

Total comments: 2

Patch Set 4 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -0 lines) Patch
M chrome/browser/memory/chrome_memory_coordinator_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/memory/chrome_memory_coordinator_delegate.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/memory/memory_coordinator_impl.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/memory/memory_coordinator_impl.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/memory/memory_coordinator_impl_unittest.cc View 1 2 3 3 chunks +14 lines, -0 lines 0 comments Download
M content/public/browser/memory_coordinator_delegate.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (16 generated)
bashi
Hi Chris, Does this approach make sense to you? Or should we try to factor ...
3 years, 10 months ago (2017-02-07 07:09:18 UTC) #3
haraken
On 2017/02/07 07:09:18, bashi wrote: > Hi Chris, > > Does this approach make sense ...
3 years, 10 months ago (2017-02-07 07:24:47 UTC) #4
bashi
Revised. I think this is ready for review. chrisha@: what do you think about this? ...
3 years, 10 months ago (2017-02-17 06:01:57 UTC) #8
haraken
LGTM on my side
3 years, 10 months ago (2017-02-17 07:20:20 UTC) #13
bashi
chrisha@: Friendly remainder :)
3 years, 10 months ago (2017-02-23 02:16:26 UTC) #16
chrisha
lgtm
3 years, 10 months ago (2017-02-23 22:30:04 UTC) #17
bashi
kinuko@: could you review content/ ?
3 years, 10 months ago (2017-02-23 23:04:04 UTC) #19
kinuko
https://codereview.chromium.org/2681643003/diff/40001/content/public/browser/memory_coordinator_delegate.h File content/public/browser/memory_coordinator_delegate.h (right): https://codereview.chromium.org/2681643003/diff/40001/content/public/browser/memory_coordinator_delegate.h#newcode21 content/public/browser/memory_coordinator_delegate.h:21: // discard. Is this called when memory is tight? ...
3 years, 10 months ago (2017-02-24 01:29:24 UTC) #20
bashi
Thanks for review! https://codereview.chromium.org/2681643003/diff/40001/content/public/browser/memory_coordinator_delegate.h File content/public/browser/memory_coordinator_delegate.h (right): https://codereview.chromium.org/2681643003/diff/40001/content/public/browser/memory_coordinator_delegate.h#newcode21 content/public/browser/memory_coordinator_delegate.h:21: // discard. On 2017/02/24 01:29:24, kinuko ...
3 years, 10 months ago (2017-02-24 01:40:26 UTC) #21
kinuko
lgtm
3 years, 10 months ago (2017-02-24 01:45:35 UTC) #22
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/2681643003/60001
3 years, 10 months ago (2017-02-24 01:53:34 UTC) #25
commit-bot: I haz the power
3 years, 10 months ago (2017-02-24 03:12:37 UTC) #28
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/8c4c9243dfc3d8ef05562ae4e3f8...

Powered by Google App Engine
This is Rietveld 408576698