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

Issue 800603002: Move MemoryPressureObserverChromeOS instantiation from Chrome to Content (Closed)

Created:
6 years ago by Mr4D (OOO till 08-26)
Modified:
6 years ago
Reviewers:
achuithb, Charlie Reis
CC:
chromium-reviews, erikwright+watch_chromium.org, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move MemoryPressureObserverChromeOS instantiation from Chrome to Content There are several proposed content CLs which are making use of the MemoryPressureObserverChromeOS::GetCurrentPressureLevel() call to adapt dynamically to the current memory pressure. Examples: The |OomPriorityManager|, the |RendererFrameManager|, ... BUG=440556 TEST=- Committed: https://crrev.com/5e3879cd0b54cb3d461dcbdcaa426429a7a7f123 Cr-Commit-Position: refs/heads/master@{#308459}

Patch Set 1 #

Patch Set 2 : Moved instantiation instead #

Patch Set 3 : Moving again #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -17 lines) Patch
M chrome/browser/chromeos/chrome_browser_main_chromeos.h View 1 2 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 3 chunks +0 lines, -10 lines 0 comments Download
M content/browser/browser_main_loop.h View 1 2 3 chunks +12 lines, -0 lines 3 comments Download
M content/browser/browser_main_loop.cc View 1 2 3 chunks +15 lines, -1 line 0 comments Download

Messages

Total messages: 30 (6 generated)
Mr4D (OOO till 08-26)
Achuith - can you please have a look? Many thanks in advance!
6 years ago (2014-12-12 17:20:22 UTC) #3
Mr4D (OOO till 08-26)
Never mind. This does not help either since chrome/browser is not accessible from content/ and ...
6 years ago (2014-12-12 17:58:49 UTC) #4
achuithb
On 2014/12/12 17:58:49, Mr4D wrote: > Never mind. This does not help either since chrome/browser ...
6 years ago (2014-12-12 19:47:43 UTC) #5
Mr4D (OOO till 08-26)
Okay, this should work now. Can you have a look! Many thanks in advance!
6 years ago (2014-12-12 20:41:52 UTC) #6
Mr4D (OOO till 08-26)
Ping. Thanks!
6 years ago (2014-12-15 16:58:16 UTC) #7
achuithb
lgtm Sorry for the delay
6 years ago (2014-12-15 19:41:40 UTC) #8
achuithb
On 2014/12/15 19:41:40, achuithb wrote: > lgtm > > Sorry for the delay Please update ...
6 years ago (2014-12-15 19:42:36 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/800603002/40001
6 years ago (2014-12-15 19:43:32 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/30555)
6 years ago (2014-12-15 20:09:31 UTC) #13
Mr4D (OOO till 08-26)
Adding +creis for OWNERS review
6 years ago (2014-12-15 21:35:57 UTC) #15
Charlie Reis
> Move MemoryPressureObserverChromeOS instantiation to make it accessible Accessible to what? Please elaborate a bit ...
6 years ago (2014-12-15 21:52:09 UTC) #16
Mr4D (OOO till 08-26)
Done. Please have another look!
6 years ago (2014-12-15 21:57:28 UTC) #17
achuithb
On 2014/12/15 21:52:09, Charlie Reis wrote: > > Move MemoryPressureObserverChromeOS instantiation to make it accessible ...
6 years ago (2014-12-15 21:57:29 UTC) #18
Mr4D (OOO till 08-26)
Done!
6 years ago (2014-12-15 22:00:20 UTC) #19
achuithb
On 2014/12/15 22:00:20, Mr4D wrote: > Done! Not just the title, but the actual description ...
6 years ago (2014-12-15 22:05:18 UTC) #20
achuithb
On 2014/12/15 22:00:20, Mr4D wrote: > Done! Not just the title, but the actual description ...
6 years ago (2014-12-15 22:05:21 UTC) #21
Charlie Reis
On 2014/12/15 22:00:20, Mr4D wrote: > Done! It looks like you haven't uploaded a new ...
6 years ago (2014-12-15 22:07:28 UTC) #22
Mr4D (OOO till 08-26)
Okay - comment accordingly changed. Please have another look!
6 years ago (2014-12-15 22:12:11 UTC) #23
Charlie Reis
Thanks-- description looks good. Did you see my comment in content/browser/browser_main_loop.h?
6 years ago (2014-12-15 22:18:53 UTC) #24
Mr4D (OOO till 08-26)
Please see comment - I think it is fine where it is. https://codereview.chromium.org/800603002/diff/40001/content/browser/browser_main_loop.h File content/browser/browser_main_loop.h ...
6 years ago (2014-12-15 22:21:46 UTC) #25
Charlie Reis
LGTM https://codereview.chromium.org/800603002/diff/40001/content/browser/browser_main_loop.h File content/browser/browser_main_loop.h (right): https://codereview.chromium.org/800603002/diff/40001/content/browser/browser_main_loop.h#newcode23 content/browser/browser_main_loop.h:23: #if defined(OS_CHROMEOS) On 2014/12/15 22:21:46, Mr4D wrote: > ...
6 years ago (2014-12-15 22:50:26 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/800603002/40001
6 years ago (2014-12-15 22:53:44 UTC) #28
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years ago (2014-12-15 23:38:27 UTC) #29
commit-bot: I haz the power
6 years ago (2014-12-15 23:39:10 UTC) #30
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5e3879cd0b54cb3d461dcbdcaa426429a7a7f123
Cr-Commit-Position: refs/heads/master@{#308459}

Powered by Google App Engine
This is Rietveld 408576698