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

Issue 2581953002: Introduce ArcServiceManager::OnShutdown(). (Closed)

Created:
4 years ago by hidehiko
Modified:
3 years, 11 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, extensions-reviews_chromium.org, yusukes+watch_chromium.org, yamaguchi+watch_chromium.org, oka+watch_chromium.org, rginda+watch_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, fukino+watch_chromium.org, chromium-apps-reviews_chromium.org, hidehiko+watch_chromium.org, davemoore+watch_chromium.org, Shuhei Takahashi, Daniel Erat, oka
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce ArcServiceManager::OnShutdown(). For graceful shutdown, this CL introduces OnShutdown observer callback. Along with the change, EventRouter now properly calls RemoveObserver in the callback. ArcServiceManager::IsInitialized() is now no longer needed. Remove it. BUG=672829 TEST=Ran bots. Committed: https://crrev.com/772f3e537ed27631ea2350d9a26f470f0890a219 Cr-Commit-Position: refs/heads/master@{#439144}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -18 lines) Patch
M chrome/browser/chromeos/extensions/file_manager/event_router.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/event_router.cc View 1 2 chunks +6 lines, -4 lines 0 comments Download
M components/arc/arc_service_manager.h View 1 2 chunks +5 lines, -6 lines 0 comments Download
M components/arc/arc_service_manager.cc View 2 chunks +5 lines, -8 lines 0 comments Download

Messages

Total messages: 22 (12 generated)
hidehiko
PTAL: - yusukes@, lhchavez@: Overall design. components/arc OWNER. - kinaba@: file_manager OWNER. FYI: - nya@, ...
4 years ago (2016-12-16 09:19:26 UTC) #4
Shuhei Takahashi
Drive-by. https://codereview.chromium.org/2581953002/diff/1/chrome/browser/chromeos/extensions/file_manager/event_router.cc File chrome/browser/chromeos/extensions/file_manager/event_router.cc (right): https://codereview.chromium.org/2581953002/diff/1/chrome/browser/chromeos/extensions/file_manager/event_router.cc#newcode405 chrome/browser/chromeos/extensions/file_manager/event_router.cc:405: DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); DCHECK_CURRENTLY_ON() is better because it can leave ...
4 years ago (2016-12-16 13:36:13 UTC) #8
kinaba
lgtm
4 years ago (2016-12-16 14:13:14 UTC) #9
Daniel Erat
lgtm with a few comment nits https://codereview.chromium.org/2581953002/diff/1/components/arc/arc_service_manager.h File components/arc/arc_service_manager.h (right): https://codereview.chromium.org/2581953002/diff/1/components/arc/arc_service_manager.h#newcode31 components/arc/arc_service_manager.h:31: // Called when ...
4 years ago (2016-12-16 16:05:44 UTC) #11
Luis Héctor Chávez
lgtm!!!
4 years ago (2016-12-16 16:36:12 UTC) #12
hidehiko
Thank you for quick review! nya@'s comments are drive-by and Yusuke is OOO, so let ...
4 years ago (2016-12-16 17:14:17 UTC) #13
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/2581953002/20001
4 years ago (2016-12-16 17:14:53 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-16 17:53:17 UTC) #19
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/772f3e537ed27631ea2350d9a26f470f0890a219 Cr-Commit-Position: refs/heads/master@{#439144}
4 years ago (2016-12-16 17:55:59 UTC) #21
Yusuke Sato
3 years, 11 months ago (2017-01-04 22:41:46 UTC) #22
Message was sent while issue was closed.
lgtm thanks!!

Powered by Google App Engine
This is Rietveld 408576698