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

Issue 2741063002: Setup DiscardableMemory in the ash process (Closed)

Created:
3 years, 9 months ago by Peng
Modified:
3 years, 9 months ago
Reviewers:
James Cook, reveman, sky
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Setup DiscardableMemory for ash process Move DiscardableMemory client side setup code from MusClient to WIndowTreeClient, so the discardable memory will work not only in regular mus clients but also in the window manager (ash). BUG=654678 Review-Url: https://codereview.chromium.org/2741063002 Cr-Commit-Position: refs/heads/master@{#457081} Committed: https://chromium.googlesource.com/chromium/src/+/23063f03278074e92ea6b70efa36280e95df05a5

Patch Set 1 #

Total comments: 3

Patch Set 2 : WIP #

Total comments: 2

Patch Set 3 : Fix issues. #

Total comments: 4

Patch Set 4 : Fix review issues #

Patch Set 5 : Fix mash_unittests #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -30 lines) Patch
M ash/mus/window_manager_unittest.cc View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M services/ui/ws/window_manager_client_unittest.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M services/ui/ws/window_server_test_base.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M ui/aura/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/aura/mus/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/mus/window_tree_client.h View 1 2 3 3 chunks +21 lines, -2 lines 0 comments Download
M ui/aura/mus/window_tree_client.cc View 1 2 3 4 5 3 chunks +30 lines, -2 lines 0 comments Download
M ui/views/mus/BUILD.gn View 1 1 chunk +0 lines, -2 lines 0 comments Download
M ui/views/mus/DEPS View 1 1 chunk +0 lines, -1 line 0 comments Download
M ui/views/mus/mus_client.h View 1 2 3 4 5 2 chunks +0 lines, -7 lines 0 comments Download
M ui/views/mus/mus_client.cc View 1 2 3 4 5 3 chunks +0 lines, -11 lines 0 comments Download

Messages

Total messages: 58 (36 generated)
Peng
Hi James, PTAL. Thanks.
3 years, 9 months ago (2017-03-09 20:28:20 UTC) #4
James Cook
Thanks for looking at this. https://codereview.chromium.org/2741063002/diff/1/ash/mus/window_manager_application.cc File ash/mus/window_manager_application.cc (right): https://codereview.chromium.org/2741063002/diff/1/ash/mus/window_manager_application.cc#newcode119 ash/mus/window_manager_application.cc:119: "ash_mus_resources_200.pak", io_task_runner, Can you ...
3 years, 9 months ago (2017-03-09 21:00:22 UTC) #5
James Cook
On 2017/03/09 21:00:22, James Cook wrote: > Thanks for looking at this. > > https://codereview.chromium.org/2741063002/diff/1/ash/mus/window_manager_application.cc ...
3 years, 9 months ago (2017-03-09 21:13:03 UTC) #6
Peng
Hi Scott, what's your opinion about where should we put the discardable memory allocator? Thanks. ...
3 years, 9 months ago (2017-03-09 21:35:43 UTC) #10
sky
On 2017/03/09 21:35:43, Peng wrote: > Hi Scott, what's your opinion about where should we ...
3 years, 9 months ago (2017-03-09 23:27:33 UTC) #11
Peng
On 2017/03/09 23:27:33, sky wrote: > On 2017/03/09 21:35:43, Peng wrote: > > Hi Scott, ...
3 years, 9 months ago (2017-03-10 16:31:49 UTC) #12
sky
The common class all use now is ui/aura/mus/WindowTreeClientClient. Is it possible to upt the code ...
3 years, 9 months ago (2017-03-10 20:23:52 UTC) #13
Peng
I updated the CL to put it in ui/aura/mus/window_tree_client.cc. PTAL. Thanks. On 2017/03/10 20:23:52, sky ...
3 years, 9 months ago (2017-03-13 20:52:32 UTC) #18
James Cook
LGTM but I'm not very knowledgeable about this code. https://codereview.chromium.org/2741063002/diff/20001/ui/aura/mus/window_tree_client.cc File ui/aura/mus/window_tree_client.cc (right): https://codereview.chromium.org/2741063002/diff/20001/ui/aura/mus/window_tree_client.cc#newcode199 ui/aura/mus/window_tree_client.cc:199: ...
3 years, 9 months ago (2017-03-13 21:17:16 UTC) #19
sky
https://codereview.chromium.org/2741063002/diff/40001/ui/aura/mus/window_tree_client.cc File ui/aura/mus/window_tree_client.cc (right): https://codereview.chromium.org/2741063002/diff/40001/ui/aura/mus/window_tree_client.cc#newcode233 ui/aura/mus/window_tree_client.cc:233: if (discardable_shared_memory_manager_) Should this be null'd out after the ...
3 years, 9 months ago (2017-03-14 03:15:34 UTC) #26
Peng
https://codereview.chromium.org/2741063002/diff/20001/ui/aura/mus/window_tree_client.cc File ui/aura/mus/window_tree_client.cc (right): https://codereview.chromium.org/2741063002/diff/20001/ui/aura/mus/window_tree_client.cc#newcode199 ui/aura/mus/window_tree_client.cc:199: if (!io_task_runner) { On 2017/03/13 21:17:15, James Cook wrote: ...
3 years, 9 months ago (2017-03-14 15:03:14 UTC) #29
sky
Ok, LGTM
3 years, 9 months ago (2017-03-14 17:36:21 UTC) #34
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/2741063002/80001
3 years, 9 months ago (2017-03-14 18:58:59 UTC) #39
Peng
+reveman@chromium.org for DEPS. Hi David, PTAL. Thanks.
3 years, 9 months ago (2017-03-14 19:03:59 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/385200)
3 years, 9 months ago (2017-03-14 19:12:01 UTC) #43
reveman
DEPS changes lgtm
3 years, 9 months ago (2017-03-14 19:15:36 UTC) #44
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/2741063002/80001
3 years, 9 months ago (2017-03-14 19:40:08 UTC) #46
commit-bot: I haz the power
Failed to apply patch for ui/views/mus/mus_client.cc: While running git apply --index -p1; error: patch failed: ...
3 years, 9 months ago (2017-03-14 19:48:34 UTC) #48
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/2741063002/80001
3 years, 9 months ago (2017-03-15 01:17:22 UTC) #50
commit-bot: I haz the power
Failed to apply patch for ui/views/mus/mus_client.cc: While running git apply --index -p1; error: patch failed: ...
3 years, 9 months ago (2017-03-15 01:22:06 UTC) #52
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/2741063002/100001
3 years, 9 months ago (2017-03-15 14:08:37 UTC) #55
commit-bot: I haz the power
3 years, 9 months ago (2017-03-15 15:04:57 UTC) #58
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/23063f03278074e92ea6b70efa36...

Powered by Google App Engine
This is Rietveld 408576698