| 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 #ifndef MEDIA_MOJO_SERVICES_MOJO_RENDERER_SERVICE_H_ | 5 #ifndef MEDIA_MOJO_SERVICES_MOJO_RENDERER_SERVICE_H_ |
| 6 #define MEDIA_MOJO_SERVICES_MOJO_RENDERER_SERVICE_H_ | 6 #define MEDIA_MOJO_SERVICES_MOJO_RENDERER_SERVICE_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "base/timer/timer.h" | 12 #include "base/timer/timer.h" |
| 13 #include "media/base/audio_decoder_config.h" | 13 #include "media/base/audio_decoder_config.h" |
| 14 #include "media/base/buffering_state.h" | 14 #include "media/base/buffering_state.h" |
| 15 #include "media/base/pipeline_status.h" | 15 #include "media/base/pipeline_status.h" |
| 16 #include "media/mojo/interfaces/media_renderer.mojom.h" | 16 #include "media/mojo/interfaces/media_renderer.mojom.h" |
| 17 #include "mojo/public/cpp/bindings/interface_impl.h" | 17 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_impl.h" |
| 18 | 18 |
| 19 namespace mojo { | 19 namespace mojo { |
| 20 class ApplicationConnection; | 20 class ApplicationConnection; |
| 21 } | 21 } |
| 22 | 22 |
| 23 namespace media { | 23 namespace media { |
| 24 | 24 |
| 25 class AudioRendererSink; | 25 class AudioRendererSink; |
| 26 class DemuxerStreamProviderShim; | 26 class DemuxerStreamProviderShim; |
| 27 class MojoDemuxerStreamAdapter; | 27 class MojoDemuxerStreamAdapter; |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 | 93 |
| 94 base::WeakPtr<MojoRendererService> weak_this_; | 94 base::WeakPtr<MojoRendererService> weak_this_; |
| 95 base::WeakPtrFactory<MojoRendererService> weak_factory_; | 95 base::WeakPtrFactory<MojoRendererService> weak_factory_; |
| 96 | 96 |
| 97 DISALLOW_COPY_AND_ASSIGN(MojoRendererService); | 97 DISALLOW_COPY_AND_ASSIGN(MojoRendererService); |
| 98 }; | 98 }; |
| 99 | 99 |
| 100 } // namespace media | 100 } // namespace media |
| 101 | 101 |
| 102 #endif // MEDIA_MOJO_SERVICES_MOJO_RENDERER_SERVICE_H_ | 102 #endif // MEDIA_MOJO_SERVICES_MOJO_RENDERER_SERVICE_H_ |
| OLD | NEW |