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

Issue 14727005: Moves LowMemoryObserver into chromeos and renames (Closed)

Created:
7 years, 7 months ago by sky
Modified:
6 years, 8 months ago
Reviewers:
James Cook, DaveMoore
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Moves LowMemoryObserver into chromeos and renames LowMemoryListener. To break dependencies on chrome I made it have a delegate rather than directly access the OomPriorityManager. BUG=none TEST=none R=davemoore@chromium.org, jamescook@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198130

Patch Set 1 #

Patch Set 2 : Similarity=30 #

Patch Set 3 : similarity=40 #

Patch Set 4 : 35? #

Total comments: 8

Patch Set 5 : review feedback #

Patch Set 6 : review feedback again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -321 lines) Patch
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 chunk +0 lines, -1 line 0 comments Download
D chrome/browser/chromeos/memory/low_memory_observer.h View 1 chunk +0 lines, -45 lines 0 comments Download
D chrome/browser/chromeos/memory/low_memory_observer.cc View 1 chunk +0 lines, -197 lines 0 comments Download
M chrome/browser/chromeos/memory/oom_priority_manager.h View 5 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/memory/oom_priority_manager.cc View 5 chunks +11 lines, -6 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 2 chunks +1 line, -2 lines 0 comments Download
M chromeos/chromeos.gyp View 1 chunk +2 lines, -1 line 0 comments Download
A + chromeos/chromeos_memory.gypi View 1 chunk +8 lines, -5 lines 0 comments Download
A + chromeos/memory/DEPS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chromeos/memory/chromeos_memory_export.h View 1 1 chunk +10 lines, -10 lines 0 comments Download
A chromeos/memory/low_memory_listener.h View 1 2 3 4 1 chunk +48 lines, -0 lines 0 comments Download
A + chromeos/memory/low_memory_listener.cc View 1 2 3 4 9 chunks +53 lines, -52 lines 0 comments Download
A chromeos/memory/low_memory_listener_delegate.h View 2 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
sky
7 years, 7 months ago (2013-05-02 04:27:18 UTC) #1
James Cook
Introduction of delegate and movement of code looks good. A couple questions. https://codereview.chromium.org/14727005/diff/5002/chrome/chrome_browser_chromeos.gypi File chrome/chrome_browser_chromeos.gypi ...
7 years, 7 months ago (2013-05-02 18:28:25 UTC) #2
sky
New patch uploaded https://codereview.chromium.org/14727005/diff/5002/chromeos/memory/low_memory_listener.cc File chromeos/memory/low_memory_listener.cc (right): https://codereview.chromium.org/14727005/diff/5002/chromeos/memory/low_memory_listener.cc#newcode53 chromeos/memory/low_memory_listener.cc:53: // |low_memory_callback| is run when memory ...
7 years, 7 months ago (2013-05-02 19:57:14 UTC) #3
James Cook
LGTM
7 years, 7 months ago (2013-05-02 20:11:21 UTC) #4
DaveMoore
lgtm
7 years, 7 months ago (2013-05-02 21:06:43 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/14727005/22001
7 years, 7 months ago (2013-05-02 21:07:40 UTC) #6
commit-bot: I haz the power
Retried try job too often on ios_rel_device for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_rel_device&number=46384
7 years, 7 months ago (2013-05-02 21:56:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/14727005/22001
7 years, 7 months ago (2013-05-02 22:05:07 UTC) #8
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) base_unittests, compile, content_unittests, crypto_unittests, googleurl_unittests, media_unittests, ...
7 years, 7 months ago (2013-05-02 22:43:23 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/14727005/22001
7 years, 7 months ago (2013-05-02 23:00:12 UTC) #10
commit-bot: I haz the power
Retried try job too often on ios_rel_device for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_rel_device&number=46438
7 years, 7 months ago (2013-05-02 23:10:56 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/14727005/22001
7 years, 7 months ago (2013-05-03 14:52:08 UTC) #12
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) base_unittests, compile, content_unittests, crypto_unittests, googleurl_unittests, media_unittests, ...
7 years, 7 months ago (2013-05-03 15:14:25 UTC) #13
sky
Committed patchset #6 manually as r198130 (presubmit successful).
7 years, 7 months ago (2013-05-03 16:41:16 UTC) #14
jam
I just noticed this. chromeos sits below content, and so as a result it can't ...
6 years, 8 months ago (2014-03-31 16:02:08 UTC) #15
James Cook
I hate to suggest this, but what about just moving it back into Chrome? The ...
6 years, 8 months ago (2014-03-31 16:06:39 UTC) #16
sky
6 years, 8 months ago (2014-03-31 16:07:32 UTC) #17
James is right. Feel free to move it back to chrome if you need to.

  -Scott

On Mon, Mar 31, 2014 at 9:06 AM,  <jamescook@chromium.org> wrote:
> I hate to suggest this, but what about just moving it back into Chrome?  The
> OOM
> manager in production is tied to the concept of tabs.  I think this might be
> left over from a desire to use the OOM system for blackwall.
>
>
> https://codereview.chromium.org/14727005/

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698