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

Issue 2323133002: Speed up ARC boot if the user launches ARC app while ARC is not ready (Closed)

Created:
4 years, 3 months ago by Yusuke Sato
Modified:
4 years, 3 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, sadrul, yusukes+watch_chromium.org, hashimoto+watch_chromium.org, tfarina, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, kalyank, Matt Giuca
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Speed up ARC boot if the user launches ARC app while ARC is not ready On some boards, ARC processes run in a restricted cgroups by default so that booting ARC won't slow down Chrome's user session restoration. However, such a cgroups restriction is not always relevant. This CL is for removing the cgroups restriction when the user tries to launch an ARC app before ARC system gets ready (so that ARC system finishes booting quickly.) Chromium OS (session_manager) side CL is: https://chromium-review.googlesource.com/#/c/382878/ BUG=chrome-os-partner:56555 TEST=Manually checked that the D-Bus method in session_manager is called. Committed: https://crrev.com/363005462f464bc319163b22c8eef8874a205868 Cr-Commit-Position: refs/heads/master@{#417768}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comment #

Patch Set 3 : rebase #

Patch Set 4 : Fix unit_tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -0 lines) Patch
M chrome/browser/chromeos/settings/device_settings_test_helper.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_test_helper.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/arc/arc_app_utils.cc View 1 4 chunks +19 lines, -0 lines 0 comments Download
M chromeos/dbus/fake_session_manager_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/dbus/fake_session_manager_client.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M chromeos/dbus/mock_session_manager_client.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chromeos/dbus/session_manager_client.h View 1 chunk +7 lines, -0 lines 0 comments Download
M chromeos/dbus/session_manager_client.cc View 3 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (13 generated)
Yusuke Sato
Yury, please have a look. OWNERs PTAL too. hashimoto@: chromeos/dbus/ skuhne@: chrome/browser/ui/ash/launcher/ xiyuan@: chrome/browser/ui/app_list/arc/ Thanks!
4 years, 3 months ago (2016-09-08 23:28:45 UTC) #2
Yusuke Sato
(I'm going to run trybots once https://chromium-review.googlesource.com/#/c/383074/ is landed and I uprev third_party/cros_system_api/. Currently, try ...
4 years, 3 months ago (2016-09-08 23:32:09 UTC) #3
khmel
https://codereview.chromium.org/2323133002/diff/1/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc File chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc (right): https://codereview.chromium.org/2323133002/diff/1/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc#newcode222 chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc:222: arc::PrioritizeArcInstance(); nit: Probably it is better to put this ...
4 years, 3 months ago (2016-09-08 23:35:28 UTC) #4
Daniel Erat
lgtm for chromeos/dbus
4 years, 3 months ago (2016-09-08 23:35:54 UTC) #6
hashimoto
chromeos/dbus/ lgtm
4 years, 3 months ago (2016-09-09 01:18:32 UTC) #7
Mr4D (OOO till 08-26)
c/b/u/a/l lgtm
4 years, 3 months ago (2016-09-09 16:05:27 UTC) #8
Yusuke Sato
khmel, xiyuan, ptal at c/b/. https://codereview.chromium.org/2323133002/diff/1/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc File chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc (right): https://codereview.chromium.org/2323133002/diff/1/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc#newcode222 chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc:222: arc::PrioritizeArcInstance(); On 2016/09/08 23:35:27, ...
4 years, 3 months ago (2016-09-09 16:20:13 UTC) #9
khmel
On 2016/09/09 16:20:13, Yusuke Sato wrote: > khmel, xiyuan, ptal at c/b/. > > https://codereview.chromium.org/2323133002/diff/1/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc ...
4 years, 3 months ago (2016-09-09 16:21:09 UTC) #10
xiyuan
lgtm Sorry replying late.
4 years, 3 months ago (2016-09-09 20:15:24 UTC) #17
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/2323133002/60001
4 years, 3 months ago (2016-09-09 23:39:56 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-09 23:44:56 UTC) #23
commit-bot: I haz the power
4 years, 3 months ago (2016-09-09 23:46:57 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/363005462f464bc319163b22c8eef8874a205868
Cr-Commit-Position: refs/heads/master@{#417768}

Powered by Google App Engine
This is Rietveld 408576698