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

Issue 2685263002: Add PurgeMemory() method for ChildMemoryCoordinator.mojom (Closed)

Created:
3 years, 10 months ago by bashi
Modified:
3 years, 10 months ago
Reviewers:
haraken, chrisha, dcheng
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add PurgeMemory() method for ChildMemoryCoordinator.mojom This method enables the browser process (MemoryCoordinator) to request a renderer to purge memory. BUG=684287 Review-Url: https://codereview.chromium.org/2685263002 Cr-Commit-Position: refs/heads/master@{#450294} Committed: https://chromium.googlesource.com/chromium/src/+/f0056e78a01fe12008eec015c18f28c766d3cf58

Patch Set 1 #

Patch Set 2 : Add TRACE_EVENT #

Total comments: 6

Patch Set 3 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -11 lines) Patch
M content/browser/memory/memory_coordinator_impl_unittest.cc View 1 2 7 chunks +21 lines, -8 lines 0 comments Download
M content/child/memory/child_memory_coordinator_impl.h View 1 chunk +1 line, -3 lines 0 comments Download
M content/child/memory/child_memory_coordinator_impl.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/common/child_memory_coordinator.mojom View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 20 (12 generated)
bashi
PTAL I think we need this as the browser would want to ask a renderer ...
3 years, 10 months ago (2017-02-10 04:25:16 UTC) #4
bashi
chrisha@, haraken@: does this make sense? I think we need a mojo message to ask ...
3 years, 10 months ago (2017-02-14 02:25:56 UTC) #9
haraken
Sorry, I was missing this CL... LGTM.
3 years, 10 months ago (2017-02-14 02:30:37 UTC) #10
bashi
dcheng@: could you review ChildMemoryCoordinator.mojom ?
3 years, 10 months ago (2017-02-14 02:31:52 UTC) #12
dcheng
lgtm https://codereview.chromium.org/2685263002/diff/20001/content/browser/memory/memory_coordinator_impl_unittest.cc File content/browser/memory/memory_coordinator_impl_unittest.cc (right): https://codereview.chromium.org/2685263002/diff/20001/content/browser/memory/memory_coordinator_impl_unittest.cc#newcode65 content/browser/memory/memory_coordinator_impl_unittest.cc:65: is_state_changed_ = true; Nit: it reads slightly more ...
3 years, 10 months ago (2017-02-14 07:48:19 UTC) #13
bashi
https://codereview.chromium.org/2685263002/diff/20001/content/browser/memory/memory_coordinator_impl_unittest.cc File content/browser/memory/memory_coordinator_impl_unittest.cc (right): https://codereview.chromium.org/2685263002/diff/20001/content/browser/memory/memory_coordinator_impl_unittest.cc#newcode65 content/browser/memory/memory_coordinator_impl_unittest.cc:65: is_state_changed_ = true; On 2017/02/14 07:48:18, dcheng wrote: > ...
3 years, 10 months ago (2017-02-14 08:02:36 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/2685263002/40001
3 years, 10 months ago (2017-02-14 08:03:40 UTC) #17
commit-bot: I haz the power
3 years, 10 months ago (2017-02-14 08:53:36 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/f0056e78a01fe12008eec015c18f...

Powered by Google App Engine
This is Rietveld 408576698