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

Issue 1496193002: arc: Add ArcServiceManager to own all future ARC services (Closed)

Created:
5 years ago by denniskempin
Modified:
5 years ago
CC:
chromium-reviews, kalyank, sadrul, oshima+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: Add ArcServiceManager to own all future ARC services Currently the ArcBridgeService is the only ARC related service, but we have more services coming. To initialize those services along with the ArcBridgeService, this CL adds an ArcServiceManager which owns, initializes and destroys them. This way we will not have to litter ChromeBrowserMainPartsChromeos with multiple ARC services. BUG=chromium:558499 TEST=This is a refactoring, check that the ArcBridgeService is still operating as expected. Committed: https://crrev.com/00457c2c9713ffde3122212c8a8623886781e251 Cr-Commit-Position: refs/heads/master@{#363522}

Patch Set 1 #

Patch Set 2 : nit fix #

Total comments: 4

Patch Set 3 : Nit fixes #

Patch Set 4 : rebased. updated chrome/browser/ui/app_list/arc with new singleton #

Patch Set 5 : updated arc app list #

Patch Set 6 : reverted removal of ArcBridgeService::Get due to dependencies that are using it in tests #

Patch Set 7 : revert dropped the arc_service_manager files #

Patch Set 8 : readded file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -22 lines) Patch
M chrome/browser/chromeos/chrome_browser_main_chromeos.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M components/arc.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/arc/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/arc/arc_bridge_service.h View 1 2 3 4 5 1 chunk +0 lines, -5 lines 0 comments Download
M components/arc/arc_bridge_service.cc View 1 2 3 4 5 7 2 chunks +1 line, -9 lines 0 comments Download
A components/arc/arc_service_manager.h View 1 2 6 7 1 chunk +49 lines, -0 lines 0 comments Download
A components/arc/arc_service_manager.cc View 6 7 1 chunk +49 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 48 (22 generated)
denniskempin
PTAL. Oshima, this is the change we talked about in person.
5 years ago (2015-12-04 00:46:59 UTC) #2
lhc(google)
Wasn't the service manager supposed to be in components/arc/service_manager to avoid adding dependencies directly on ...
5 years ago (2015-12-04 02:24:16 UTC) #4
denniskempin
On 2015/12/04 02:24:16, lhc(google) wrote: > Wasn't the service manager supposed to be in components/arc/service_manager ...
5 years ago (2015-12-04 18:15:32 UTC) #5
oshima
On 2015/12/04 18:15:32, denniskempin wrote: > On 2015/12/04 02:24:16, lhc(google) wrote: > > Wasn't the ...
5 years ago (2015-12-04 18:24:14 UTC) #6
Luis Héctor Chávez
Discussed offline, this is the right approach. lgtm
5 years ago (2015-12-04 18:26:51 UTC) #8
denniskempin
On 2015/12/04 18:26:51, Luis Héctor Chávez wrote: > Discussed offline, this is the right approach. ...
5 years ago (2015-12-04 18:30:53 UTC) #9
denniskempin
On 2015/12/04 18:24:14, oshima wrote: > On 2015/12/04 18:15:32, denniskempin wrote: > > On 2015/12/04 ...
5 years ago (2015-12-04 18:32:15 UTC) #10
oshima
lgtm https://codereview.chromium.org/1496193002/diff/20001/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc File chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc (right): https://codereview.chromium.org/1496193002/diff/20001/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc#newcode331 chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc:331: arc_bridge_service->Shutdown(); I actually have a slight preference for ...
5 years ago (2015-12-04 18:33:34 UTC) #11
denniskempin
fixed nits! Go go gadget commit queue! https://codereview.chromium.org/1496193002/diff/20001/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc File chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc (right): https://codereview.chromium.org/1496193002/diff/20001/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc#newcode331 chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc:331: arc_bridge_service->Shutdown(); On ...
5 years ago (2015-12-04 19:12:25 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1496193002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1496193002/40001
5 years ago (2015-12-04 19:33:28 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/125170)
5 years ago (2015-12-04 19:48:36 UTC) #17
elijahtaylor1
lgtm
5 years ago (2015-12-04 23:46:07 UTC) #18
denniskempin
5 years ago (2015-12-04 23:51:53 UTC) #20
xiyuan
lgtm
5 years ago (2015-12-04 23:54:41 UTC) #21
denniskempin
On 2015/12/04 23:54:41, xiyuan wrote: > lgtm thanks everyone :)
5 years ago (2015-12-04 23:56:19 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1496193002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1496193002/80001
5 years ago (2015-12-05 00:04:03 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/97402) linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
5 years ago (2015-12-05 00:45:58 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1496193002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1496193002/140001
5 years ago (2015-12-05 01:50:14 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_TIMED_OUT, no build URL) win_chromium_compile_dbg_ng on ...
5 years ago (2015-12-05 03:54:38 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1496193002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1496193002/140001
5 years ago (2015-12-05 05:28:59 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_TIMED_OUT, no build URL) win_chromium_compile_dbg_ng on ...
5 years ago (2015-12-05 07:31:19 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1496193002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1496193002/140001
5 years ago (2015-12-05 17:03:03 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_TIMED_OUT, no build URL) win_chromium_compile_dbg_ng on ...
5 years ago (2015-12-05 19:05:00 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1496193002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1496193002/140001
5 years ago (2015-12-07 17:19:55 UTC) #45
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years ago (2015-12-07 18:28:42 UTC) #46
commit-bot: I haz the power
5 years ago (2015-12-07 18:29:38 UTC) #48
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/00457c2c9713ffde3122212c8a8623886781e251
Cr-Commit-Position: refs/heads/master@{#363522}

Powered by Google App Engine
This is Rietveld 408576698