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

Issue 2295403002: Destroy MojoMediaClient in MojoMediaApplication::OnStop(). (Closed)

Created:
4 years, 3 months ago by alokp
Modified:
4 years, 3 months ago
CC:
Aaron Boodman, abarth-chromium, alokp+watch_chromium.org, chromium-reviews, darin (slow to review), feature-media-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Destroy MojoMediaClient in MojoMediaApplication::OnStop(). Service::OnStop is not called when EmbeddedApplicationRunner is deleted instead of stopping due to connection error. Deleting MojoMediaClient in MojoMediaApplication::OnStop() allows MojoMediaApplication to share cleanup code between the two shutdown paths. BUG=641559 Committed: https://crrev.com/8f75a9ee58edd4a3039d0fcc55f7325842afc448 Cr-Commit-Position: refs/heads/master@{#415842}

Patch Set 1 #

Patch Set 2 : ignore request if stopped #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -20 lines) Patch
M media/mojo/services/mojo_media_application.cc View 1 2 chunks +5 lines, -1 line 0 comments Download
M media/mojo/services/mojo_media_client.h View 1 chunk +3 lines, -5 lines 0 comments Download
M media/mojo/services/mojo_media_client.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M media/mojo/services/test_mojo_media_client.h View 1 chunk +0 lines, -1 line 0 comments Download
M media/mojo/services/test_mojo_media_client.cc View 2 chunks +8 lines, -11 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
alokp
4 years, 3 months ago (2016-08-31 21:22:55 UTC) #2
Ken Rockot(use gerrit already)
LGTM as non-owner, but I think you should also change MojoMediaApplication::CreateServiceFactory to no-op if mojo_media_client_ ...
4 years, 3 months ago (2016-08-31 21:28:49 UTC) #3
alokp
On 2016/08/31 21:28:49, Ken Rockot wrote: > LGTM as non-owner, but I think you should ...
4 years, 3 months ago (2016-08-31 21:36:06 UTC) #4
alokp
4 years, 3 months ago (2016-08-31 21:36:22 UTC) #6
Ken Rockot(use gerrit already)
On 2016/08/31 at 21:36:06, alokp wrote: > On 2016/08/31 21:28:49, Ken Rockot wrote: > > ...
4 years, 3 months ago (2016-08-31 21:59:18 UTC) #7
alokp
On 2016/08/31 21:59:18, Ken Rockot wrote: > Yes it's possible. Events on the Service interface ...
4 years, 3 months ago (2016-08-31 22:08:07 UTC) #8
sandersd (OOO until July 31)
lgtm
4 years, 3 months ago (2016-08-31 23:30:49 UTC) #9
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/2295403002/20001
4 years, 3 months ago (2016-08-31 23:32:36 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-01 01:47:19 UTC) #13
commit-bot: I haz the power
4 years, 3 months ago (2016-09-01 01:51:26 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8f75a9ee58edd4a3039d0fcc55f7325842afc448
Cr-Commit-Position: refs/heads/master@{#415842}

Powered by Google App Engine
This is Rietveld 408576698