|
|
Description[Media Router] Make MRUIService dispose its dependencies on MRMojoImpl in
Shutdown()
Both MediaRouterUIService and MediaRouterMojoImpl are KeyedServices, and the
dependency from the former to the latter should be disposed in its Shutdown()
method. |action_controller_| is an observer to MediaRouterMojoImpl, so it needs
to be reset in Shutdown().
BUG=705216
Review-Url: https://codereview.chromium.org/2774383003
Cr-Commit-Position: refs/heads/master@{#459900}
Committed: https://chromium.googlesource.com/chromium/src/+/6812c7313dd67fcfad6f95d4b5a91cf7dcfda06a
Patch Set 1 #
Total comments: 2
Patch Set 2 : Address Derek's comment #
Messages
Total messages: 22 (17 generated)
Description was changed from ========== [Media Router] Make MRUIService dispose its dependencies on MRMojoImpl in Shutdown() BUG=705216 ========== to ========== [Media Router] Make MRUIService dispose its dependencies on MRMojoImpl in Shutdown() Both MediaRouterUIService and MediaRouterMojoImpl are KeyedServices, and the dependency from the former to the latter should be disposed in its Shutdown() method. |action_controller_| is an observer to the MRMojoImpl, so it needs to be reset in Shutdown(). BUG=705216 ==========
Description was changed from ========== [Media Router] Make MRUIService dispose its dependencies on MRMojoImpl in Shutdown() Both MediaRouterUIService and MediaRouterMojoImpl are KeyedServices, and the dependency from the former to the latter should be disposed in its Shutdown() method. |action_controller_| is an observer to the MRMojoImpl, so it needs to be reset in Shutdown(). BUG=705216 ========== to ========== [Media Router] Make MRUIService dispose its dependencies on MRMojoImpl in Shutdown() Both MediaRouterUIService and MediaRouterMojoImpl are KeyedServices, and the dependency from the former to the latter should be disposed in its Shutdown() method. |action_controller_| is an observer to the MRMojoImpl, so it needs to be reset in Shutdown(). BUG=705216 ==========
Description was changed from ========== [Media Router] Make MRUIService dispose its dependencies on MRMojoImpl in Shutdown() Both MediaRouterUIService and MediaRouterMojoImpl are KeyedServices, and the dependency from the former to the latter should be disposed in its Shutdown() method. |action_controller_| is an observer to the MRMojoImpl, so it needs to be reset in Shutdown(). BUG=705216 ========== to ========== [Media Router] Make MRUIService dispose its dependencies on MRMojoImpl in Shutdown() Both MediaRouterUIService and MediaRouterMojoImpl are KeyedServices, and the dependency from the former to the latter should be disposed in its Shutdown() method. |action_controller_| is an observer to MediaRouterMojoImpl, so it needs to be reset in Shutdown(). BUG=705216 ==========
Description was changed from ========== [Media Router] Make MRUIService dispose its dependencies on MRMojoImpl in Shutdown() Both MediaRouterUIService and MediaRouterMojoImpl are KeyedServices, and the dependency from the former to the latter should be disposed in its Shutdown() method. |action_controller_| is an observer to MediaRouterMojoImpl, so it needs to be reset in Shutdown(). BUG=705216 ========== to ========== [Media Router] Make MRUIService dispose its dependencies on MRMojoImpl in Shutdown() Both MediaRouterUIService and MediaRouterMojoImpl are KeyedServices, and the dependency from the former to the latter should be disposed in its Shutdown() method. |action_controller_| is an observer to MediaRouterMojoImpl, so it needs to be reset in Shutdown(). BUG=705216 ==========
takumif@chromium.org changed reviewers: + imcheng@chromium.org
Please take a look, thanks!
The CQ bit was checked by takumif@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: No L-G-T-M from a valid reviewer yet. CQ run can only be started once the patch has received an L-G-T-M from a full committer. Even if an L-G-T-M may have been provided, it was from a non-committer,_not_ a full super star committer. Committers are members of the group "project-chromium-committers". Note that this has nothing to do with OWNERS files.
lgtm https://codereview.chromium.org/2774383003/diff/1/chrome/browser/media/router... File chrome/browser/media/router/media_router_ui_service.cc (right): https://codereview.chromium.org/2774383003/diff/1/chrome/browser/media/router... chrome/browser/media/router/media_router_ui_service.cc:15: base::MakeUnique<MediaRouterActionController>(profile)) {} nit: new MediaRouteActionController(profile)
The CQ bit was checked by takumif@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
https://codereview.chromium.org/2774383003/diff/1/chrome/browser/media/router... File chrome/browser/media/router/media_router_ui_service.cc (right): https://codereview.chromium.org/2774383003/diff/1/chrome/browser/media/router... chrome/browser/media/router/media_router_ui_service.cc:15: base::MakeUnique<MediaRouterActionController>(profile)) {} On 2017/03/27 20:51:06, imcheng wrote: > nit: new MediaRouteActionController(profile) Done.
The CQ bit was checked by takumif@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from imcheng@chromium.org Link to the patchset: https://codereview.chromium.org/2774383003/#ps20001 (title: "Address Derek's comment")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 20001, "attempt_start_ts": 1490651353442580, "parent_rev": "18386cd771d77f28621fd74f5043c8e0526e92a4", "commit_rev": "6812c7313dd67fcfad6f95d4b5a91cf7dcfda06a"}
Message was sent while issue was closed.
Description was changed from ========== [Media Router] Make MRUIService dispose its dependencies on MRMojoImpl in Shutdown() Both MediaRouterUIService and MediaRouterMojoImpl are KeyedServices, and the dependency from the former to the latter should be disposed in its Shutdown() method. |action_controller_| is an observer to MediaRouterMojoImpl, so it needs to be reset in Shutdown(). BUG=705216 ========== to ========== [Media Router] Make MRUIService dispose its dependencies on MRMojoImpl in Shutdown() Both MediaRouterUIService and MediaRouterMojoImpl are KeyedServices, and the dependency from the former to the latter should be disposed in its Shutdown() method. |action_controller_| is an observer to MediaRouterMojoImpl, so it needs to be reset in Shutdown(). BUG=705216 Review-Url: https://codereview.chromium.org/2774383003 Cr-Commit-Position: refs/heads/master@{#459900} Committed: https://chromium.googlesource.com/chromium/src/+/6812c7313dd67fcfad6f95d4b5a9... ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/6812c7313dd67fcfad6f95d4b5a9... |