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

Issue 1640423002: Make memory pressure IPC accessible from content/public. (Closed)

Created:
4 years, 11 months ago by chrisha
Modified:
4 years, 10 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, petrcermak, nasko
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make memory pressure IPC accessible from content/public. Code in chrome/browser will be responsible for deciding when and where to forward memory pressure notifications, so this API needs to be public. BUG=483964

Patch Set 1 #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -0 lines) Patch
M content/content_browser.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A content/public/browser/memory_pressure.h View 1 chunk +30 lines, -0 lines 8 comments Download
A content/public/browser/memory_pressure.cc View 1 chunk +25 lines, -0 lines 1 comment Download

Dependent Patchsets:

Messages

Total messages: 14 (5 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/1640423002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1640423002/1
4 years, 11 months ago (2016-01-27 19:29:50 UTC) #2
chrisha
creis: You looked at petrcermak@'s earlier related CLs. Care to take a look at this?
4 years, 11 months ago (2016-01-27 20:30:34 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-27 20:41:08 UTC) #6
Charlie Reis
On 2016/01/27 20:30:34, chrisha wrote: > creis: You looked at petrcermak@'s earlier related CLs. Care ...
4 years, 11 months ago (2016-01-27 22:34:23 UTC) #7
chrisha
> Sure. (Just curious-- what were the earlier CLs? I don't remember seeing them, > ...
4 years, 11 months ago (2016-01-27 22:52:47 UTC) #8
Charlie Reis
On 2016/01/27 22:52:47, chrisha wrote: > > Sure. (Just curious-- what were the earlier CLs? ...
4 years, 10 months ago (2016-01-27 22:56:55 UTC) #9
petrcermak
https://codereview.chromium.org/1640423002/diff/1/content/public/browser/memory_pressure.cc File content/public/browser/memory_pressure.cc (right): https://codereview.chromium.org/1640423002/diff/1/content/public/browser/memory_pressure.cc#newcode1 content/public/browser/memory_pressure.cc:1: // Copyright (c) 2016 The Chromium Authors. All rights ...
4 years, 10 months ago (2016-01-28 09:55:05 UTC) #11
chrisha
Responded to comments inline. Updated code will be at https://codereview.chromium.org/1641813002/ Closing this CL. https://codereview.chromium.org/1640423002/diff/1/content/public/browser/memory_pressure.h File ...
4 years, 10 months ago (2016-01-28 21:22:14 UTC) #12
chrisha
4 years, 10 months ago (2016-01-28 21:26:12 UTC) #13
> I only mean to expose a few functions on MemoryPressureController. Should I
> wholesale move MemoryPressureController to public/browser/memory, or should I
> create a facade that only exposes the few functions external users care about?

Resuming our chat:

I'll rename the existing controller to MemoryPressureControllerImpl, and make
MemoryPressureController in public simple be a facade to the few functions
needing to be exposed.

Powered by Google App Engine
This is Rietveld 408576698