New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 672829 link

Starred by 2 users

Issue metadata

Status: Archived
Owner:
Closed: Jul 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Consider graceful-shutdown-ability between ArcService and BrowserContextKeyedService.

Project Member Reported by hidehiko@chromium.org, Dec 9 2016

Issue description

Chrome Version: ToT
OS: ChromeOS

Issue: some BrowserContextKeyedService subclasses depend on ArcService subclasses (e.g. observing), but teardown (e.g. RemoveObserver) in dtor may not work well.

Note that: this is internal clean up now, because we haven't hit the serious problem on shutdown, yet.


Details:

Practically, ArcService subclasses and BrowserContextKeyedService subclasses are working as singleton in Chrome. But, those destroying timing is fixed.

Now ArcService classes are destroyed before Profile's destruction, because some ArcService classes depend on Profile.

BrowserContextKeyedService classes are destroyed on Profile destruction.

So; some BrowserContextKeyedService depend on some ArcServices (e.g. EventRouter or ArcAppPrefsList) and trying to clean teardown in their dtor, but these won't work well because, in the dtor, ArcServices are already destroyed.

For better shutdown, we want to destroy objects in following order:
- BrowserContextKeyedService
- ArcService
- Profile

However, this is not that easy now because of the current code structure.

To resolve this situation, there could be several approaches;
- Make (some part of) ArcService as BrowserContextKeyedService and create dependencies.
- If an ArcService has an Observer, add, e.g., OnShutdown() callback, which is called in its dtor. So that BrowserContextKeyedService can know on destruction, and can necessary teardown.
- Similar to above, provide OnShutdown() callback in ArcServiceManager::Observer (instead of each ArcService).

 
Note: once it's done, let's remove ArcServiceManager::IsInitialized() altogether. The method is a dirty hack for properly shutting down EventRouter.

Project Member

Comment 2 by bugdroid1@chromium.org, Dec 16 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f2d8f704cfba6d76429dd9b15169ce2f3cc1fad9

commit f2d8f704cfba6d76429dd9b15169ce2f3cc1fad9
Author: yusukes <yusukes@chromium.org>
Date: Fri Dec 16 01:57:22 2016

Add a comment to IsInitialized() to discourage devs to call it

BUG= 672829 
TEST=try

Review-Url: https://codereview.chromium.org/2583523002
Cr-Commit-Position: refs/heads/master@{#438983}

[modify] https://crrev.com/f2d8f704cfba6d76429dd9b15169ce2f3cc1fad9/components/arc/arc_service_manager.h

(comment #2 is not a fix.)
Cc: nya@chromium.org
[+cc: nya, who would need to do something similar to EventRouter].

So, Yusuke, Luis, any preference?

At the moment, personally, ArcServiceManager::Observer::OnShutdown() approach sounds a better way, considering the conclusion of the discussion on  crbug.com/672840 .

All modules living out side of ARC but being interested in ARC events should observe ArcServiceManager. So providing OnShutdown() callback and have clients to call RemoveObserver() at the time sounds like straightforward approach to me.

I'd +1 to the ArcServiceManager::Observer::OnShutdown() solution.

Owner: hidehiko@chromium.org
Status: Started (was: Untriaged)
Ok, it looks simple change, so let me start to work on it.
Luis, if you have any comments, please chime in.

"+1" to Observer::OnShutdown()
Project Member

Comment 8 by bugdroid1@chromium.org, Dec 16 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/772f3e537ed27631ea2350d9a26f470f0890a219

commit 772f3e537ed27631ea2350d9a26f470f0890a219
Author: hidehiko <hidehiko@chromium.org>
Date: Fri Dec 16 17:52:39 2016

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.

Review-Url: https://codereview.chromium.org/2581953002
Cr-Commit-Position: refs/heads/master@{#439144}

[modify] https://crrev.com/772f3e537ed27631ea2350d9a26f470f0890a219/chrome/browser/chromeos/extensions/file_manager/event_router.cc
[modify] https://crrev.com/772f3e537ed27631ea2350d9a26f470f0890a219/chrome/browser/chromeos/extensions/file_manager/event_router.h
[modify] https://crrev.com/772f3e537ed27631ea2350d9a26f470f0890a219/components/arc/arc_service_manager.cc
[modify] https://crrev.com/772f3e537ed27631ea2350d9a26f470f0890a219/components/arc/arc_service_manager.h

Status: Fixed (was: Started)
Status: Assigned (was: Fixed)
Let me reopen.
The fix didn't work unfortunately. (crbug.com/676725).
Will update more details later...
So another alternative.

- Move the arc_service_launcher_->Shutdown() to later.
  Currently it is here:
  https://cs.chromium.org/chromium/src/chrome/browser/chromeos/chrome_browser_main_chromeos.cc?sq=package:chromium&dr=CSs&rcl=1484194889&l=814
  Considering crbug.com/680301 etc. maybe better than after
  https://cs.chromium.org/chromium/src/chrome/browser/chromeos/chrome_browser_main_chromeos.cc?sq=package:chromium&dr=CSs&rcl=1484194889&l=912

- Because some ArcService classes depends on Profile, so to handle it, add
  OnProfileDestroying callback to ArcServiceLauncher, ArcSessionManager, ArcServiceManager and ArcService.
  Each class and its subclasses should handle Profile related teardown in it.

- OnProfileDestroying should be called here:
  https://cs.chromium.org/chromium/src/chrome/browser/chromeos/chrome_browser_main_chromeos.cc?sq=package:chromium&dr=CSs&rcl=1484194889&l=905

With this change, BrowserContextKeyedService subclasses can handle tearing down, e.g. RemoveObserver() properly in its Shutdown() callback.
Also ArcProcessTask instances can be destroyed without nullptr checking.

At the moment, the ArcKioskBridge is the only class trivially we need to change, because it has a ptr to BrowserContextKeyedService.
It can be solved technically.

The biggest concern is, whether it can be safely done, because we're late to work on this.
IMHO, the better timing is ASAP avoiding the huge feature release (like now).

Luis, Yusuke, WDYT? If that looks ok for you, I'll give it a try.
Cc: victorhsieh@chromium.org
Discussed offline with Luis.

For the record. The idea is:
- Convert all ArcService instances which depend on Profile (regardless of whether explicitly or implicitly) to BrowserContextKeyedService.
- Then, those services will be created on Profile creation (or lazily created on demand).
- Destroy ArcServiceLauncher (incl ArcService instances, ArcSessionManager, ArcServiceManager), after Profile deletion.

In this manner, we can remove all the dependency from ArcService to Profile.
Also, the destruction is done in reverse order of construction.

Note: ArcSessionManager still depends on some part of Profile (Mainly ARC support app, and Pref). So, before Profile deletion, for clean shutdown, we still need some callback to ArcSessionManager.
Status: Started (was: Assigned)
Project Member

Comment 14 by bugdroid1@chromium.org, Jul 5 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/e06f8cda681f86e8d513d9662ec43e238ed06b51

commit e06f8cda681f86e8d513d9662ec43e238ed06b51
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Wed Jul 05 10:09:03 2017

Split ArcSessionManager::SetProfile.

This CL splits SetProfile() into two methods.
- SetProfile(): just set the |profile_| field.
- Initialize(): assuming |profile_| is set, runs initialization of
  ArcSessionManager.

This is preparation to move SetProfile timing before
BrowserContextKeyedService construction, while remaining
initialization should be kept as is.

BUG= 672829 
TEST=Ran trybots.

Change-Id: I212b08a85ab363c9ecbfb8b7a57c1c6846026939
Reviewed-on: https://chromium-review.googlesource.com/558600
Reviewed-by: Trent Apted <tapted@chromium.org>
Reviewed-by: Yusuke Sato <yusukes@chromium.org>
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#484233}
[modify] https://crrev.com/e06f8cda681f86e8d513d9662ec43e238ed06b51/chrome/browser/chromeos/arc/arc_play_store_enabled_preference_handler_unittest.cc
[modify] https://crrev.com/e06f8cda681f86e8d513d9662ec43e238ed06b51/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/e06f8cda681f86e8d513d9662ec43e238ed06b51/chrome/browser/chromeos/arc/arc_session_manager.cc
[modify] https://crrev.com/e06f8cda681f86e8d513d9662ec43e238ed06b51/chrome/browser/chromeos/arc/arc_session_manager.h
[modify] https://crrev.com/e06f8cda681f86e8d513d9662ec43e238ed06b51/chrome/browser/chromeos/arc/arc_session_manager_unittest.cc
[modify] https://crrev.com/e06f8cda681f86e8d513d9662ec43e238ed06b51/chrome/browser/chromeos/arc/notification/arc_provision_notification_service_unittest.cc
[modify] https://crrev.com/e06f8cda681f86e8d513d9662ec43e238ed06b51/chrome/browser/ui/app_list/arc/arc_app_test.cc

Project Member

Comment 15 by bugdroid1@chromium.org, Jul 7 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/595af3397226bbee9d8cf6f9e83be603f8736585

commit 595af3397226bbee9d8cf6f9e83be603f8736585
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Fri Jul 07 00:40:57 2017

Remove BlockingPool from ARC.

This makes it easier to refactor ArcService class into
BrowserContextKeyedService by removing unnecessary dependency.

BUG= 672829 
TEST=Ran trybot. Ran ARC on DUT.

Change-Id: Ia7e1d3332941833f3b642d4d089dfdb6a3d7c631
Reviewed-on: https://chromium-review.googlesource.com/560929
Reviewed-by: Yusuke Sato <yusukes@chromium.org>
Reviewed-by: Yury Khmel <khmel@chromium.org>
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#484778}
[modify] https://crrev.com/595af3397226bbee9d8cf6f9e83be603f8736585/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/595af3397226bbee9d8cf6f9e83be603f8736585/chrome/browser/chromeos/arc/arc_session_manager_unittest.cc
[modify] https://crrev.com/595af3397226bbee9d8cf6f9e83be603f8736585/chrome/browser/chromeos/arc/fileapi/arc_content_file_system_async_file_util_unittest.cc
[modify] https://crrev.com/595af3397226bbee9d8cf6f9e83be603f8736585/chrome/browser/chromeos/arc/fileapi/arc_content_file_system_file_stream_reader_unittest.cc
[modify] https://crrev.com/595af3397226bbee9d8cf6f9e83be603f8736585/chrome/browser/chromeos/arc/fileapi/arc_documents_provider_root_unittest.cc
[modify] https://crrev.com/595af3397226bbee9d8cf6f9e83be603f8736585/chrome/browser/chromeos/arc/fileapi/arc_file_system_operation_runner_unittest.cc
[modify] https://crrev.com/595af3397226bbee9d8cf6f9e83be603f8736585/chrome/browser/chromeos/arc/notification/arc_provision_notification_service_unittest.cc
[modify] https://crrev.com/595af3397226bbee9d8cf6f9e83be603f8736585/chrome/browser/ui/app_list/arc/arc_app_test.cc
[modify] https://crrev.com/595af3397226bbee9d8cf6f9e83be603f8736585/components/arc/arc_service_manager.cc
[modify] https://crrev.com/595af3397226bbee9d8cf6f9e83be603f8736585/components/arc/arc_service_manager.h
[modify] https://crrev.com/595af3397226bbee9d8cf6f9e83be603f8736585/components/arc/arc_service_manager_unittest.cc
[modify] https://crrev.com/595af3397226bbee9d8cf6f9e83be603f8736585/components/arc/arc_session.cc
[modify] https://crrev.com/595af3397226bbee9d8cf6f9e83be603f8736585/components/arc/arc_session.h
[modify] https://crrev.com/595af3397226bbee9d8cf6f9e83be603f8736585/components/arc/crash_collector/arc_crash_collector_bridge.cc
[modify] https://crrev.com/595af3397226bbee9d8cf6f9e83be603f8736585/components/arc/crash_collector/arc_crash_collector_bridge.h
[modify] https://crrev.com/595af3397226bbee9d8cf6f9e83be603f8736585/components/arc/intent_helper/activity_icon_loader.cc

Project Member

Comment 16 by bugdroid1@chromium.org, Jul 10 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1ec933642722f033962838c7b5588a6cdc88129e

commit 1ec933642722f033962838c7b5588a6cdc88129e
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Mon Jul 10 13:01:15 2017

Use BrowserContextKeyedService for ArcAccessibilityHelperBridge.

Along the change, fixed a bug where primary user is in background.

BUG= 672829 
TEST=Ran on DUT. Ran trybot.

Change-Id: I83c080fd005bb55cb1c1570f6ab465ad6524a2aa
Reviewed-on: https://chromium-review.googlesource.com/563151
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Yusuke Sato <yusukes@chromium.org>
Reviewed-by: Yuki Awano <yawano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#485247}
[modify] https://crrev.com/1ec933642722f033962838c7b5588a6cdc88129e/chrome/browser/chromeos/BUILD.gn
[modify] https://crrev.com/1ec933642722f033962838c7b5588a6cdc88129e/chrome/browser/chromeos/arc/accessibility/arc_accessibility_helper_bridge.cc
[modify] https://crrev.com/1ec933642722f033962838c7b5588a6cdc88129e/chrome/browser/chromeos/arc/accessibility/arc_accessibility_helper_bridge.h
[add] https://crrev.com/1ec933642722f033962838c7b5588a6cdc88129e/chrome/browser/chromeos/arc/accessibility/arc_accessibility_helper_bridge_factory.cc
[add] https://crrev.com/1ec933642722f033962838c7b5588a6cdc88129e/chrome/browser/chromeos/arc/accessibility/arc_accessibility_helper_bridge_factory.h
[modify] https://crrev.com/1ec933642722f033962838c7b5588a6cdc88129e/chrome/browser/chromeos/arc/accessibility/arc_accessibility_helper_bridge_unittest.cc
[modify] https://crrev.com/1ec933642722f033962838c7b5588a6cdc88129e/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/1ec933642722f033962838c7b5588a6cdc88129e/components/arc/arc_service_manager.h

Project Member

Comment 17 by bugdroid1@chromium.org, Jul 11 2017

Project Member

Comment 18 by bugdroid1@chromium.org, Jul 15 2017

Project Member

Comment 20 by bugdroid1@chromium.org, Jul 15 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/35c0a5586b780e570c2ddc29b9a4196c0769990e

commit 35c0a5586b780e570c2ddc29b9a4196c0769990e
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Sat Jul 15 04:40:01 2017

Migrate ArcService to BrowserContextKeyedService part 4.

This CL migrates ArcBootErrorNotification.

BUG= 672829 
TEST=Ran try.

Change-Id: I8ea1f03507a4a654e035f5b9ba34819770d4b6fe
Reviewed-on: https://chromium-review.googlesource.com/571527
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Luis Hector Chavez <lhchavez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#486978}
[modify] https://crrev.com/35c0a5586b780e570c2ddc29b9a4196c0769990e/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/35c0a5586b780e570c2ddc29b9a4196c0769990e/chrome/browser/chromeos/arc/notification/arc_boot_error_notification.cc
[modify] https://crrev.com/35c0a5586b780e570c2ddc29b9a4196c0769990e/chrome/browser/chromeos/arc/notification/arc_boot_error_notification.h

Project Member

Comment 21 by bugdroid1@chromium.org, Jul 15 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/954c5152ec19f2f242e73773c14ac1ab5a601928

commit 954c5152ec19f2f242e73773c14ac1ab5a601928
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Sat Jul 15 05:58:45 2017

Migrate ArcService to BrowserContextKeyedService part 5.

This CL migrates ArcClipboardBridge.

BUG= 672829 
TEST=Ran try.

Change-Id: I34642868629e673015bcf298869d1ced2d0a0ad5
Reviewed-on: https://chromium-review.googlesource.com/571528
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Luis Hector Chavez <lhchavez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#486981}
[modify] https://crrev.com/954c5152ec19f2f242e73773c14ac1ab5a601928/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/954c5152ec19f2f242e73773c14ac1ab5a601928/components/arc/clipboard/arc_clipboard_bridge.cc
[modify] https://crrev.com/954c5152ec19f2f242e73773c14ac1ab5a601928/components/arc/clipboard/arc_clipboard_bridge.h

Project Member

Comment 22 by bugdroid1@chromium.org, Jul 15 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c3591587a699a76a6409b560022dda89b2b1d05e

commit c3591587a699a76a6409b560022dda89b2b1d05e
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Sat Jul 15 07:17:39 2017

Migrate ArcService to BrowserContextKeyedService part 6.

This CL migrates ArcCrashCollectorBridge.

BUG= 672829 
TEST=Ran try.

Change-Id: Idc873df7e2519c79e1ee2b0ed45b0100d8ee543c
Reviewed-on: https://chromium-review.googlesource.com/571566
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Luis Hector Chavez <lhchavez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#486987}
[modify] https://crrev.com/c3591587a699a76a6409b560022dda89b2b1d05e/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/c3591587a699a76a6409b560022dda89b2b1d05e/components/arc/crash_collector/arc_crash_collector_bridge.cc
[modify] https://crrev.com/c3591587a699a76a6409b560022dda89b2b1d05e/components/arc/crash_collector/arc_crash_collector_bridge.h

Project Member

Comment 23 by bugdroid1@chromium.org, Jul 15 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3184e075ec409b4002c9177aed2b3e1f51b6fd81

commit 3184e075ec409b4002c9177aed2b3e1f51b6fd81
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Sat Jul 15 12:52:40 2017

Migrate ArcService to BrowserContextKeyedService part 8.

This CL migrates ArcEnterpriseReportingService.

BUG= 672829 
TEST=Ran try.

Change-Id: Ib86168f0cf52096025366c4a52ec0030a1c09f55
Reviewed-on: https://chromium-review.googlesource.com/571116
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Luis Hector Chavez <lhchavez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#486990}
[modify] https://crrev.com/3184e075ec409b4002c9177aed2b3e1f51b6fd81/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/3184e075ec409b4002c9177aed2b3e1f51b6fd81/chrome/browser/chromeos/arc/enterprise/arc_enterprise_reporting_service.cc
[modify] https://crrev.com/3184e075ec409b4002c9177aed2b3e1f51b6fd81/chrome/browser/chromeos/arc/enterprise/arc_enterprise_reporting_service.h

Project Member

Comment 24 by bugdroid1@chromium.org, Jul 16 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/48b141b4f3e13250defc6e293e96d012f2782e53

commit 48b141b4f3e13250defc6e293e96d012f2782e53
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Sun Jul 16 12:03:59 2017

Migrate ArcService to BrowserContextKeyedService part 9.

This CL migrates ArcFileSystemMounter.

BUG= 672829 
TEST=Ran try.

Change-Id: I0fe8ac4c2d3aec887cd716b53cd5c02421d47b14
Reviewed-on: https://chromium-review.googlesource.com/572670
Reviewed-by: Yusuke Sato (in China Mon-Thurs, may be offline) <yusukes@chromium.org>
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487010}
[modify] https://crrev.com/48b141b4f3e13250defc6e293e96d012f2782e53/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/48b141b4f3e13250defc6e293e96d012f2782e53/chrome/browser/chromeos/arc/fileapi/arc_file_system_mounter.cc
[modify] https://crrev.com/48b141b4f3e13250defc6e293e96d012f2782e53/chrome/browser/chromeos/arc/fileapi/arc_file_system_mounter.h

Project Member

Comment 25 by bugdroid1@chromium.org, Jul 16 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f7f59ab61befc2f61f0832263b38f0bcb50a0e28

commit f7f59ab61befc2f61f0832263b38f0bcb50a0e28
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Sun Jul 16 12:56:58 2017

Migrate ArcService to BrowserContextKeyedService part 11.

This CL migrates ArcMetricsService.

BUG= 672829 
TEST=Ran try.

Change-Id: If61b381d0aac425117601b0f514aaebac431e9bc
Reviewed-on: https://chromium-review.googlesource.com/572471
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Yusuke Sato (in China Mon-Thurs, may be offline) <yusukes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487011}
[modify] https://crrev.com/f7f59ab61befc2f61f0832263b38f0bcb50a0e28/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/f7f59ab61befc2f61f0832263b38f0bcb50a0e28/components/arc/metrics/arc_metrics_service.cc
[modify] https://crrev.com/f7f59ab61befc2f61f0832263b38f0bcb50a0e28/components/arc/metrics/arc_metrics_service.h

Project Member

Comment 26 by bugdroid1@chromium.org, Jul 16 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/53e9a8c76989fc910b36f3945134f24b63fb0ae2

commit 53e9a8c76989fc910b36f3945134f24b63fb0ae2
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Sun Jul 16 13:52:18 2017

Migrate ArcService to BrowserContextKeyedService part 13.

This CL migrates ArcObbMounterBridge.

BUG= 672829 
TEST=Ran try.

Change-Id: Iac02330ae8ac2c0226f81ea25f5045494290da0d
Reviewed-on: https://chromium-review.googlesource.com/572472
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Yusuke Sato (in China Mon-Thurs, may be offline) <yusukes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487012}
[modify] https://crrev.com/53e9a8c76989fc910b36f3945134f24b63fb0ae2/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/53e9a8c76989fc910b36f3945134f24b63fb0ae2/components/arc/obb_mounter/arc_obb_mounter_bridge.cc
[modify] https://crrev.com/53e9a8c76989fc910b36f3945134f24b63fb0ae2/components/arc/obb_mounter/arc_obb_mounter_bridge.h

Project Member

Comment 27 by bugdroid1@chromium.org, Jul 16 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/0a4decaa857c7d142bd94762d51963973b9ace61

commit 0a4decaa857c7d142bd94762d51963973b9ace61
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Sun Jul 16 17:45:27 2017

Migrate ArcService to BrowserContextKeyedService part 15.

This CL migrates ArcPowerBridge.

BUG= 672829 
TEST=Ran try.

Change-Id: I02dac942cbd31635120c62734032ca7611edae4b
Reviewed-on: https://chromium-review.googlesource.com/572881
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Yusuke Sato (in China Mon-Thurs, may be offline) <yusukes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487013}
[modify] https://crrev.com/0a4decaa857c7d142bd94762d51963973b9ace61/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/0a4decaa857c7d142bd94762d51963973b9ace61/components/arc/power/arc_power_bridge.cc
[modify] https://crrev.com/0a4decaa857c7d142bd94762d51963973b9ace61/components/arc/power/arc_power_bridge.h

Project Member

Comment 28 by bugdroid1@chromium.org, Jul 16 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/db5e34d75cbfe1707467d5a4a8694cf14179840c

commit db5e34d75cbfe1707467d5a4a8694cf14179840c
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Sun Jul 16 18:31:32 2017

Migrate ArcService to BrowserContextKeyedService part 16.

This CL migrates ArcPrintService.

BUG= 672829 
TEST=Ran try.

Change-Id: Ia223ec8dc9d05d044ddb66812cd322d705cb1d39
Reviewed-on: https://chromium-review.googlesource.com/572882
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Yusuke Sato (in China Mon-Thurs, may be offline) <yusukes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487017}
[modify] https://crrev.com/db5e34d75cbfe1707467d5a4a8694cf14179840c/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/db5e34d75cbfe1707467d5a4a8694cf14179840c/chrome/browser/chromeos/arc/print/arc_print_service.cc
[modify] https://crrev.com/db5e34d75cbfe1707467d5a4a8694cf14179840c/chrome/browser/chromeos/arc/print/arc_print_service.h

Project Member

Comment 30 by bugdroid1@chromium.org, Jul 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/06558be12251a7ea478b0d5f057e12f66e0fe540

commit 06558be12251a7ea478b0d5f057e12f66e0fe540
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Mon Jul 17 11:29:35 2017

Migrate ArcService to BrowserContextKeyedService part 21.

This CL migrates ArcTracingBridge.

BUG= 672829 
TEST=Ran try.

Change-Id: Ibc52186e24f7e042dfc86541cecf7fc18d2dea50
Reviewed-on: https://chromium-review.googlesource.com/572887
Reviewed-by: Yusuke Sato (in China Mon-Thurs, may be offline) <yusukes@chromium.org>
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487043}
[modify] https://crrev.com/06558be12251a7ea478b0d5f057e12f66e0fe540/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/06558be12251a7ea478b0d5f057e12f66e0fe540/chrome/browser/chromeos/arc/tracing/arc_tracing_bridge.cc
[modify] https://crrev.com/06558be12251a7ea478b0d5f057e12f66e0fe540/chrome/browser/chromeos/arc/tracing/arc_tracing_bridge.h

Project Member

Comment 31 by bugdroid1@chromium.org, Jul 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f078efc2606bba8409a20b42aaa85028d2c5b333

commit f078efc2606bba8409a20b42aaa85028d2c5b333
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Mon Jul 17 15:32:48 2017

Migrate ArcService to BrowserContextKeyedService part 7.

This CL migrates ArcDownloadsWatcherService.

BUG= 672829 
TEST=Ran try.

Change-Id: I1004dfa57616778463f36e86c3cc46295d8c9627
Reviewed-on: https://chromium-review.googlesource.com/571567
Reviewed-by: Luis Hector Chavez <lhchavez@chromium.org>
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487087}
[modify] https://crrev.com/f078efc2606bba8409a20b42aaa85028d2c5b333/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/f078efc2606bba8409a20b42aaa85028d2c5b333/chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_service.cc
[modify] https://crrev.com/f078efc2606bba8409a20b42aaa85028d2c5b333/chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_service.h

Project Member

Comment 32 by bugdroid1@chromium.org, Jul 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/99937de5cdbc9e276572083c992ba8a832b0a44c

commit 99937de5cdbc9e276572083c992ba8a832b0a44c
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Mon Jul 17 15:50:03 2017

Migrate ArcService to BrowserContextKeyedService part 12.

This CL migrates ArcNetHostImpl.

BUG= 672829 
TEST=Ran try.

Change-Id: I4236b93a52b45b4e0ef34fe0fc72ceb124aac063
Reviewed-on: https://chromium-review.googlesource.com/572671
Reviewed-by: Luis Hector Chavez <lhchavez@chromium.org>
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487093}
[modify] https://crrev.com/99937de5cdbc9e276572083c992ba8a832b0a44c/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/99937de5cdbc9e276572083c992ba8a832b0a44c/components/arc/net/arc_net_host_impl.cc
[modify] https://crrev.com/99937de5cdbc9e276572083c992ba8a832b0a44c/components/arc/net/arc_net_host_impl.h

Project Member

Comment 35 by bugdroid1@chromium.org, Jul 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7d1476b8f693f79a755cc70f93856add69dc1834

commit 7d1476b8f693f79a755cc70f93856add69dc1834
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Mon Jul 17 18:45:19 2017

Migrate ArcService to BrowserContextKeyedService part 17.

This CL migrates ArcProcessService.

BUG= 672829 
TEST=Ran try.

Change-Id: Ia1b34a32eba2e8c3c069dcca9e89712e2e1396a2
Reviewed-on: https://chromium-review.googlesource.com/572445
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Luis Hector Chavez <lhchavez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487175}
[modify] https://crrev.com/7d1476b8f693f79a755cc70f93856add69dc1834/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/7d1476b8f693f79a755cc70f93856add69dc1834/chrome/browser/chromeos/arc/process/arc_process_service.cc
[modify] https://crrev.com/7d1476b8f693f79a755cc70f93856add69dc1834/chrome/browser/chromeos/arc/process/arc_process_service.h

Project Member

Comment 37 by bugdroid1@chromium.org, Jul 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b60e5ef2e40ce4ef3c00a290d0788f349bb8b451

commit b60e5ef2e40ce4ef3c00a290d0788f349bb8b451
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Mon Jul 17 20:27:17 2017

Migrate ArcService to BrowserContextKeyedService part 22.

This CL migrates ArcTtsService.

BUG= 672829 
TEST=Ran try.

Change-Id: Ia635f234c7bd03ce19a2ffd2f78bc20bbe9ecc19
Reviewed-on: https://chromium-review.googlesource.com/572473
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Luis Hector Chavez <lhchavez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487224}
[modify] https://crrev.com/b60e5ef2e40ce4ef3c00a290d0788f349bb8b451/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/b60e5ef2e40ce4ef3c00a290d0788f349bb8b451/chrome/browser/chromeos/arc/tts/arc_tts_service.cc
[modify] https://crrev.com/b60e5ef2e40ce4ef3c00a290d0788f349bb8b451/chrome/browser/chromeos/arc/tts/arc_tts_service.h

Project Member

Comment 40 by bugdroid1@chromium.org, Jul 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/bac30e6f043a33f5dd709aa261efe78d1aafc366

commit bac30e6f043a33f5dd709aa261efe78d1aafc366
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Tue Jul 18 03:52:58 2017

Migrate ArcService to BrowserContextKeyedService part 24.

This CL migrates ArcVoiceInteraction{Framework,ArcHome}Service classes.

BUG= 672829 
TEST=Ran try. Ran on DUT.

Change-Id: Id46d1b3ab424b340e1c28509f0d349f531de6db8
Reviewed-on: https://chromium-review.googlesource.com/572677
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Luis Hector Chavez <lhchavez@chromium.org>
Reviewed-by: Mitsuru Oshima <oshima@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487378}
[modify] https://crrev.com/bac30e6f043a33f5dd709aa261efe78d1aafc366/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/bac30e6f043a33f5dd709aa261efe78d1aafc366/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_arc_home_service.cc
[modify] https://crrev.com/bac30e6f043a33f5dd709aa261efe78d1aafc366/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_arc_home_service.h
[modify] https://crrev.com/bac30e6f043a33f5dd709aa261efe78d1aafc366/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc
[modify] https://crrev.com/bac30e6f043a33f5dd709aa261efe78d1aafc366/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.h
[modify] https://crrev.com/bac30e6f043a33f5dd709aa261efe78d1aafc366/chrome/browser/chromeos/first_run/first_run.cc
[modify] https://crrev.com/bac30e6f043a33f5dd709aa261efe78d1aafc366/chrome/browser/chromeos/login/wizard_controller.cc
[modify] https://crrev.com/bac30e6f043a33f5dd709aa261efe78d1aafc366/chrome/browser/ui/ash/app_list/app_list_presenter_service.cc
[modify] https://crrev.com/bac30e6f043a33f5dd709aa261efe78d1aafc366/chrome/browser/ui/ash/app_list/app_list_presenter_service.h
[modify] https://crrev.com/bac30e6f043a33f5dd709aa261efe78d1aafc366/chrome/browser/ui/ash/app_list/app_list_service_ash.cc
[modify] https://crrev.com/bac30e6f043a33f5dd709aa261efe78d1aafc366/chrome/browser/ui/ash/palette_delegate_chromeos.cc

Project Member

Comment 41 by bugdroid1@chromium.org, Jul 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/77d3bcb85cb7413017272d12e6e8ef30b90bf789

commit 77d3bcb85cb7413017272d12e6e8ef30b90bf789
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Tue Jul 18 06:49:07 2017

Migrate ArcService to BrowserContextKeyedService part 25.

This CL migrates ArcVolumeMounterBridge.

BUG= 672829 
TEST=Ran try.

Change-Id: I14ecdea4d97940a4b0878f0624d0b0137263f453
Reviewed-on: https://chromium-review.googlesource.com/574511
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Luis Hector Chavez <lhchavez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487399}
[modify] https://crrev.com/77d3bcb85cb7413017272d12e6e8ef30b90bf789/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/77d3bcb85cb7413017272d12e6e8ef30b90bf789/components/arc/volume_mounter/arc_volume_mounter_bridge.cc
[modify] https://crrev.com/77d3bcb85cb7413017272d12e6e8ef30b90bf789/components/arc/volume_mounter/arc_volume_mounter_bridge.h

Project Member

Comment 42 by bugdroid1@chromium.org, Jul 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3061637c0d3d99da4f038c753afa28afc716d800

commit 3061637c0d3d99da4f038c753afa28afc716d800
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Tue Jul 18 08:07:22 2017

Migrate ArcService to BrowserContextKeyedService part 26.

This CL migrates ArcWallpaperService.

BUG= 672829 
TEST=Ran try.

Change-Id: I2ba4846b223acab81a128097c688d5a100f5a366
Reviewed-on: https://chromium-review.googlesource.com/574512
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Yusuke Sato (in China Mon-Thurs, may be offline) <yusukes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487415}
[modify] https://crrev.com/3061637c0d3d99da4f038c753afa28afc716d800/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/3061637c0d3d99da4f038c753afa28afc716d800/chrome/browser/chromeos/arc/wallpaper/arc_wallpaper_service.cc
[modify] https://crrev.com/3061637c0d3d99da4f038c753afa28afc716d800/chrome/browser/chromeos/arc/wallpaper/arc_wallpaper_service.h

Project Member

Comment 43 by bugdroid1@chromium.org, Jul 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/093a0f560f8b79aa6c21ec855c6fb7ac3c4930fd

commit 093a0f560f8b79aa6c21ec855c6fb7ac3c4930fd
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Tue Jul 18 09:04:37 2017

Migrate ArcService to BrowserContextKeyedService part 27.

This CL migrates GpuArcVideoServiceHost.

BUG= 672829 
TEST=Ran try.

Change-Id: I1b1643d953081559b81364ee7275cc640f5bee48
Reviewed-on: https://chromium-review.googlesource.com/574513
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Luis Hector Chavez <lhchavez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487422}
[modify] https://crrev.com/093a0f560f8b79aa6c21ec855c6fb7ac3c4930fd/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/093a0f560f8b79aa6c21ec855c6fb7ac3c4930fd/chrome/browser/chromeos/arc/video/gpu_arc_video_service_host.cc
[modify] https://crrev.com/093a0f560f8b79aa6c21ec855c6fb7ac3c4930fd/chrome/browser/chromeos/arc/video/gpu_arc_video_service_host.h

Project Member

Comment 44 by bugdroid1@chromium.org, Jul 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6182efe1bbd0f2639e1d1374d51efa97d5421bd2

commit 6182efe1bbd0f2639e1d1374d51efa97d5421bd2
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Tue Jul 18 09:35:38 2017

Migrate ArcService to BrowserContextKeyedService part 28.

This CL migrates ArcBootPhaseMonitorBridge.

BUG= 672829 
TEST=Ran try.

Change-Id: I2a6988e5867092de9b8a981a253f7b1993a9eebc
Reviewed-on: https://chromium-review.googlesource.com/575287
Reviewed-by: Luis Hector Chavez <lhchavez@chromium.org>
Reviewed-by: Yusuke Sato (in China Mon-Thurs, may be offline) <yusukes@chromium.org>
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487425}
[modify] https://crrev.com/6182efe1bbd0f2639e1d1374d51efa97d5421bd2/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/6182efe1bbd0f2639e1d1374d51efa97d5421bd2/chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc
[modify] https://crrev.com/6182efe1bbd0f2639e1d1374d51efa97d5421bd2/chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h

Project Member

Comment 45 by bugdroid1@chromium.org, Jul 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3047eb429a218092bd9cf5d46dffa5a78834d216

commit 3047eb429a218092bd9cf5d46dffa5a78834d216
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Tue Jul 18 10:48:53 2017

Migrate ArcService to BrowserContextKeyedService part 1.

This CL migrates ArcIntentHelperBridge.

BUG= 672829 
TEST=Ran try. Ran on DUT.

Change-Id: Ic7bba1bdd95dc5c41c7789d4081f9abb3fc9ad12
Reviewed-on: https://chromium-review.googlesource.com/571384
Reviewed-by: Yusuke Sato (in China Mon-Thurs, may be offline) <yusukes@chromium.org>
Reviewed-by: Naoki Fukino <fukino@chromium.org>
Reviewed-by: Ahmed Fakhry <afakhry@chromium.org>
Reviewed-by: Dan Erat <derat@chromium.org>
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487436}
[modify] https://crrev.com/3047eb429a218092bd9cf5d46dffa5a78834d216/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/3047eb429a218092bd9cf5d46dffa5a78834d216/chrome/browser/chromeos/arc/intent_helper/arc_external_protocol_dialog.cc
[modify] https://crrev.com/3047eb429a218092bd9cf5d46dffa5a78834d216/chrome/browser/chromeos/arc/intent_helper/arc_navigation_throttle.cc
[modify] https://crrev.com/3047eb429a218092bd9cf5d46dffa5a78834d216/chrome/browser/chromeos/extensions/file_manager/event_router.cc
[modify] https://crrev.com/3047eb429a218092bd9cf5d46dffa5a78834d216/chrome/browser/chromeos/extensions/file_manager/event_router_factory.cc
[modify] https://crrev.com/3047eb429a218092bd9cf5d46dffa5a78834d216/chrome/browser/chromeos/file_manager/arc_file_tasks.cc
[modify] https://crrev.com/3047eb429a218092bd9cf5d46dffa5a78834d216/chrome/browser/chromeos/note_taking_helper.cc
[modify] https://crrev.com/3047eb429a218092bd9cf5d46dffa5a78834d216/chrome/browser/task_manager/providers/arc/arc_process_task.cc
[modify] https://crrev.com/3047eb429a218092bd9cf5d46dffa5a78834d216/components/arc/intent_helper/arc_intent_helper_bridge.cc
[modify] https://crrev.com/3047eb429a218092bd9cf5d46dffa5a78834d216/components/arc/intent_helper/arc_intent_helper_bridge.h
[modify] https://crrev.com/3047eb429a218092bd9cf5d46dffa5a78834d216/components/arc/intent_helper/arc_intent_helper_bridge_unittest.cc
[modify] https://crrev.com/3047eb429a218092bd9cf5d46dffa5a78834d216/components/arc/intent_helper/link_handler_model_impl.cc
[modify] https://crrev.com/3047eb429a218092bd9cf5d46dffa5a78834d216/components/arc/intent_helper/link_handler_model_impl.h

Project Member

Comment 46 by bugdroid1@chromium.org, Jul 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/347d21681b21e07a51deb179bff434c39203f6d6

commit 347d21681b21e07a51deb179bff434c39203f6d6
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Tue Jul 18 18:13:34 2017

Migrate ArcService to BrowserContextKeyedService part 30.

This CL migrates ArcNotificationManager.

BUG= 672829 
TEST=Ran try. Ran on DUT.

Change-Id: I4b7283246b9d808fe61a97e20061a4b87c8c0321
Reviewed-on: https://chromium-review.googlesource.com/574890
Reviewed-by: Paweł Hajdan Jr. <phajdan.jr@chromium.org>
Reviewed-by: Yoshiki Iguchi <yoshiki@chromium.org>
Reviewed-by: Luis Hector Chavez <lhchavez@chromium.org>
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487526}
[modify] https://crrev.com/347d21681b21e07a51deb179bff434c39203f6d6/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/347d21681b21e07a51deb179bff434c39203f6d6/components/arc/BUILD.gn
[modify] https://crrev.com/347d21681b21e07a51deb179bff434c39203f6d6/components/arc/arc_service_manager.h
[modify] https://crrev.com/347d21681b21e07a51deb179bff434c39203f6d6/ui/arc/BUILD.gn
[modify] https://crrev.com/347d21681b21e07a51deb179bff434c39203f6d6/ui/arc/notification/DEPS
[modify] https://crrev.com/347d21681b21e07a51deb179bff434c39203f6d6/ui/arc/notification/arc_notification_manager.cc
[modify] https://crrev.com/347d21681b21e07a51deb179bff434c39203f6d6/ui/arc/notification/arc_notification_manager.h
[modify] https://crrev.com/347d21681b21e07a51deb179bff434c39203f6d6/ui/arc/notification/arc_notification_manager_unittest.cc

Project Member

Comment 47 by bugdroid1@chromium.org, Jul 19 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/eb3c07f68b654e72aa171fc30b130a9991b0b0c8

commit eb3c07f68b654e72aa171fc30b130a9991b0b0c8
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Wed Jul 19 05:18:41 2017

Migrate ArcService to BrowserContextKeyedService part 29.

This CL migrates ArcFileSystemOperationRunner.

BUG= 672829 
TEST=Ran try. Ran on DUT.

Change-Id: I31584adcb23a820903b1c266274d0a66d240d787
Reviewed-on: https://chromium-review.googlesource.com/575248
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Luis Hector Chavez <lhchavez@chromium.org>
Reviewed-by: Shuhei Takahashi <nya@chromium.org>
Reviewed-by: Naoki Fukino <fukino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487761}
[modify] https://crrev.com/eb3c07f68b654e72aa171fc30b130a9991b0b0c8/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/eb3c07f68b654e72aa171fc30b130a9991b0b0c8/chrome/browser/chromeos/arc/fileapi/arc_content_file_system_async_file_util_unittest.cc
[modify] https://crrev.com/eb3c07f68b654e72aa171fc30b130a9991b0b0c8/chrome/browser/chromeos/arc/fileapi/arc_content_file_system_file_stream_reader_unittest.cc
[modify] https://crrev.com/eb3c07f68b654e72aa171fc30b130a9991b0b0c8/chrome/browser/chromeos/arc/fileapi/arc_documents_provider_root_unittest.cc
[modify] https://crrev.com/eb3c07f68b654e72aa171fc30b130a9991b0b0c8/chrome/browser/chromeos/arc/fileapi/arc_file_system_operation_runner.cc
[modify] https://crrev.com/eb3c07f68b654e72aa171fc30b130a9991b0b0c8/chrome/browser/chromeos/arc/fileapi/arc_file_system_operation_runner.h
[modify] https://crrev.com/eb3c07f68b654e72aa171fc30b130a9991b0b0c8/chrome/browser/chromeos/arc/fileapi/arc_file_system_operation_runner_unittest.cc
[modify] https://crrev.com/eb3c07f68b654e72aa171fc30b130a9991b0b0c8/chrome/browser/chromeos/arc/fileapi/arc_file_system_operation_runner_util.cc
[modify] https://crrev.com/eb3c07f68b654e72aa171fc30b130a9991b0b0c8/chrome/browser/chromeos/file_manager/filesystem_api_util.cc

Project Member

Comment 48 by bugdroid1@chromium.org, Jul 19 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6a3f10277a5a302c3fc896b5106b9a87fe2317b0

commit 6a3f10277a5a302c3fc896b5106b9a87fe2317b0
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Wed Jul 19 09:39:11 2017

Migrate ArcService to BrowserContextKeyedService part 31.

This CL migrates ArcKioskBridge.
Along with the migration, the class is moved from
components/arc/kiosk to chrome/browser/chromeos/arc/kiosk, to resolve
depedency.

BUG= 672829 
TEST=Ran try. Ran on DUT.

Change-Id: I51fe93e9d132a6e30f9e8fbf0a38c1a243382710
Reviewed-on: https://chromium-review.googlesource.com/575804
Reviewed-by: Sergey Poromov <poromov@chromium.org>
Reviewed-by: Luis Hector Chavez <lhchavez@chromium.org>
Reviewed-by: Mitsuru Oshima <oshima@chromium.org>
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487803}
[modify] https://crrev.com/6a3f10277a5a302c3fc896b5106b9a87fe2317b0/chrome/browser/chromeos/BUILD.gn
[modify] https://crrev.com/6a3f10277a5a302c3fc896b5106b9a87fe2317b0/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.h
[modify] https://crrev.com/6a3f10277a5a302c3fc896b5106b9a87fe2317b0/chrome/browser/chromeos/arc/arc_service_launcher.cc
[add] https://crrev.com/6a3f10277a5a302c3fc896b5106b9a87fe2317b0/chrome/browser/chromeos/arc/kiosk/arc_kiosk_bridge.cc
[add] https://crrev.com/6a3f10277a5a302c3fc896b5106b9a87fe2317b0/chrome/browser/chromeos/arc/kiosk/arc_kiosk_bridge.h
[rename] https://crrev.com/6a3f10277a5a302c3fc896b5106b9a87fe2317b0/chrome/browser/chromeos/arc/kiosk/arc_kiosk_bridge_unittest.cc
[modify] https://crrev.com/6a3f10277a5a302c3fc896b5106b9a87fe2317b0/components/arc/BUILD.gn
[delete] https://crrev.com/16ff958e422d75ec549668e3fae8ec0b88435ce3/components/arc/kiosk/arc_kiosk_bridge.cc
[delete] https://crrev.com/16ff958e422d75ec549668e3fae8ec0b88435ce3/components/arc/kiosk/arc_kiosk_bridge.h

Project Member

Comment 49 by bugdroid1@chromium.org, Jul 20 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c1df3d4456b27362d65b06c7ee52a88d36af6fb4

commit c1df3d4456b27362d65b06c7ee52a88d36af6fb4
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Thu Jul 20 01:45:43 2017

Fix ArcServiceLauncher destruction order.

Now we migrated ArcService classes into KeyedService,
so these are destructed on Profile destruction.
With this CL, the lifetime of ArcServiceManager, ArcSessionManager
and KeyedService classes becomes nested, i.e., now
while KeyedService is alive, ArcServiceManager and ArcSessionManager
are alive.

BUG= 672829 
TEST=Ran try, and run on DUT.

Change-Id: Iadeea98b19ea6eb6fb93cdb91f9bd1cf4b973794
Reviewed-on: https://chromium-review.googlesource.com/574986
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Yusuke Sato (in China Mon-Thurs, may be offline) <yusukes@chromium.org>
Reviewed-by: Luis Hector Chavez <lhchavez@chromium.org>
Reviewed-by: Dan Erat <derat@chromium.org>
Cr-Commit-Position: refs/heads/master@{#488087}
[modify] https://crrev.com/c1df3d4456b27362d65b06c7ee52a88d36af6fb4/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/c1df3d4456b27362d65b06c7ee52a88d36af6fb4/chrome/browser/chromeos/arc/arc_service_launcher.h
[modify] https://crrev.com/c1df3d4456b27362d65b06c7ee52a88d36af6fb4/chrome/browser/chromeos/arc/arc_session_manager.cc
[modify] https://crrev.com/c1df3d4456b27362d65b06c7ee52a88d36af6fb4/chrome/browser/chromeos/arc/arc_session_manager_browsertest.cc
[modify] https://crrev.com/c1df3d4456b27362d65b06c7ee52a88d36af6fb4/chrome/browser/chromeos/arc/auth/arc_auth_service_browsertest.cc
[modify] https://crrev.com/c1df3d4456b27362d65b06c7ee52a88d36af6fb4/chrome/browser/chromeos/chrome_browser_main_chromeos.cc

Project Member

Comment 50 by bugdroid1@chromium.org, Jul 20 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/bd4e1a2edac4be4c1ca2dfc996959c1e2f66e6f5

commit bd4e1a2edac4be4c1ca2dfc996959c1e2f66e6f5
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Thu Jul 20 18:49:02 2017

Use passed BrowserContext as Profile.

ArcProvisionNotificationService internally accessed to
ArcSessionManager::profile().
Instead, it will use the given BrowserContext.

BUG= 672829 
TEST=Ran trybot.

Change-Id: Ic1f60318d4727863a41654cd5aa73b3bd319725d
Reviewed-on: https://chromium-review.googlesource.com/579890
Reviewed-by: Luis Hector Chavez <lhchavez@chromium.org>
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#488329}
[modify] https://crrev.com/bd4e1a2edac4be4c1ca2dfc996959c1e2f66e6f5/chrome/browser/chromeos/arc/notification/arc_provision_notification_service.cc
[modify] https://crrev.com/bd4e1a2edac4be4c1ca2dfc996959c1e2f66e6f5/chrome/browser/chromeos/arc/notification/arc_provision_notification_service.h
[modify] https://crrev.com/bd4e1a2edac4be4c1ca2dfc996959c1e2f66e6f5/chrome/browser/chromeos/arc/notification/arc_provision_notification_service_unittest.cc

Project Member

Comment 51 by bugdroid1@chromium.org, Jul 21 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8c47ddd19ddffa890f42216312b471740317ff56

commit 8c47ddd19ddffa890f42216312b471740317ff56
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Fri Jul 21 01:26:15 2017

Remove ArcService.

Now we migrated all ArcService classes into KeyedService.
So, clean up unused class and code.

BUG= 672829 
TEST=Ran trybot.

Change-Id: I280cc3387f8064abbd683de4c3ff62dd586d2b41
Reviewed-on: https://chromium-review.googlesource.com/578827
Reviewed-by: Yusuke Sato <yusukes@chromium.org>
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#488536}
[modify] https://crrev.com/8c47ddd19ddffa890f42216312b471740317ff56/chrome/browser/chromeos/arc/arc_service_launcher.cc
[modify] https://crrev.com/8c47ddd19ddffa890f42216312b471740317ff56/chrome/browser/chromeos/arc/fileapi/arc_file_system_operation_runner.h
[modify] https://crrev.com/8c47ddd19ddffa890f42216312b471740317ff56/chrome/browser/chromeos/arc/notification/arc_boot_error_notification.h
[modify] https://crrev.com/8c47ddd19ddffa890f42216312b471740317ff56/chrome/browser/chromeos/arc/policy/arc_policy_bridge.h
[modify] https://crrev.com/8c47ddd19ddffa890f42216312b471740317ff56/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.h
[modify] https://crrev.com/8c47ddd19ddffa890f42216312b471740317ff56/components/arc/BUILD.gn
[delete] https://crrev.com/9e2bedd723e9a4a67e9623861de64c0e5d6d4d2f/components/arc/arc_service.cc
[delete] https://crrev.com/9e2bedd723e9a4a67e9623861de64c0e5d6d4d2f/components/arc/arc_service.h
[modify] https://crrev.com/8c47ddd19ddffa890f42216312b471740317ff56/components/arc/arc_service_manager.cc
[modify] https://crrev.com/8c47ddd19ddffa890f42216312b471740317ff56/components/arc/arc_service_manager.h
[delete] https://crrev.com/9e2bedd723e9a4a67e9623861de64c0e5d6d4d2f/components/arc/arc_service_manager_unittest.cc
[modify] https://crrev.com/8c47ddd19ddffa890f42216312b471740317ff56/components/arc/audio/arc_audio_bridge.h
[modify] https://crrev.com/8c47ddd19ddffa890f42216312b471740317ff56/components/arc/intent_helper/activity_icon_loader.h
[modify] https://crrev.com/8c47ddd19ddffa890f42216312b471740317ff56/components/arc/obb_mounter/arc_obb_mounter_bridge.h

Project Member

Comment 52 by bugdroid1@chromium.org, Jul 21 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/000ee3919289dcd8d9a74efb5e08c2cac4f00f27

commit 000ee3919289dcd8d9a74efb5e08c2cac4f00f27
Author: Hidehiko Abe <hidehiko@chromium.org>
Date: Fri Jul 21 05:36:27 2017

Remove ArcServiceManager checks in dtor of KeyedService classes.

Now the lifetime problem was fixed. So, the check is
no longer needed.

BUG= 672829 
TEST=Ran trybots.

Change-Id: I918d2c3bdec6cbc9a0758e18a8ffee856211e19b
Reviewed-on: https://chromium-review.googlesource.com/578917
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Luis Hector Chavez <lhchavez@chromium.org>
Reviewed-by: Yusuke Sato <yusukes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#488593}
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/accessibility/arc_accessibility_helper_bridge.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/auth/arc_auth_service.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_service.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/enterprise/arc_enterprise_reporting_service.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/fileapi/arc_content_file_system_async_file_util_unittest.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/fileapi/arc_content_file_system_file_stream_reader_unittest.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/fileapi/arc_documents_provider_root_unittest.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/fileapi/arc_file_system_operation_runner.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/fileapi/arc_file_system_operation_runner_unittest.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/intent_helper/arc_settings_service.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/kiosk/arc_kiosk_bridge.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/notification/arc_boot_error_notification.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/notification/arc_provision_notification_service.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/policy/arc_policy_bridge.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/print/arc_print_service.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/process/arc_process_service.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/tracing/arc_tracing_bridge.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/tts/arc_tts_service.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/user_session/arc_user_session_service.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/video/gpu_arc_video_service_host.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_arc_home_service.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/chrome/browser/chromeos/arc/wallpaper/arc_wallpaper_service.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/components/arc/audio/arc_audio_bridge.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/components/arc/bluetooth/arc_bluetooth_bridge.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/components/arc/clipboard/arc_clipboard_bridge.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/components/arc/crash_collector/arc_crash_collector_bridge.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/components/arc/ime/arc_ime_bridge_impl.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/components/arc/intent_helper/arc_intent_helper_bridge.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/components/arc/metrics/arc_metrics_service.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/components/arc/net/arc_net_host_impl.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/components/arc/obb_mounter/arc_obb_mounter_bridge.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/components/arc/power/arc_power_bridge.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/components/arc/volume_mounter/arc_volume_mounter_bridge.cc
[modify] https://crrev.com/000ee3919289dcd8d9a74efb5e08c2cac4f00f27/ui/arc/notification/arc_notification_manager.cc

Status: Fixed (was: Started)

Comment 54 by dchan@chromium.org, Jan 22 2018

Status: Archived (was: Fixed)

Sign in to add a comment