| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |