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

Side by Side Diff: media/mojo/services/mojo_media_application.h

Issue 1200323003: media: Quit MojoMediaApplication when no service is bound. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase only Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/mojo/services/mojo_cdm_service.cc ('k') | media/mojo/services/mojo_media_application.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/memory/scoped_ptr.h" 5 #include "base/memory/scoped_ptr.h"
6 #include "media/mojo/interfaces/content_decryption_module.mojom.h" 6 #include "media/mojo/interfaces/content_decryption_module.mojom.h"
7 #include "media/mojo/interfaces/media_renderer.mojom.h" 7 #include "media/mojo/interfaces/media_renderer.mojom.h"
8 #include "media/mojo/services/mojo_cdm_service_context.h" 8 #include "media/mojo/services/mojo_cdm_service_context.h"
9 #include "mojo/application/public/cpp/application_delegate.h" 9 #include "mojo/application/public/cpp/application_delegate.h"
10 #include "mojo/application/public/cpp/interface_factory_impl.h" 10 #include "mojo/application/public/cpp/interface_factory_impl.h"
(...skipping 21 matching lines...) Expand all
32 // mojo::InterfaceFactory<mojo::ContentDecryptionModule> implementation. 32 // mojo::InterfaceFactory<mojo::ContentDecryptionModule> implementation.
33 void Create( 33 void Create(
34 mojo::ApplicationConnection* connection, 34 mojo::ApplicationConnection* connection,
35 mojo::InterfaceRequest<mojo::ContentDecryptionModule> request) final; 35 mojo::InterfaceRequest<mojo::ContentDecryptionModule> request) final;
36 36
37 // mojo::InterfaceFactory<mojo::MediaRenderer> implementation. 37 // mojo::InterfaceFactory<mojo::MediaRenderer> implementation.
38 void Create(mojo::ApplicationConnection* connection, 38 void Create(mojo::ApplicationConnection* connection,
39 mojo::InterfaceRequest<mojo::MediaRenderer> request) final; 39 mojo::InterfaceRequest<mojo::MediaRenderer> request) final;
40 40
41 MojoCdmServiceContext cdm_service_context_; 41 MojoCdmServiceContext cdm_service_context_;
42 mojo::ApplicationImpl* app_impl_;
43 base::TimeDelta release_delay_;
42 }; 44 };
43 45
44 } // namespace media 46 } // namespace media
OLDNEW
« no previous file with comments | « media/mojo/services/mojo_cdm_service.cc ('k') | media/mojo/services/mojo_media_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698