| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Delegate calls from WebCore::MediaPlayerPrivate to Chrome's video player. | 5 // Delegate calls from WebCore::MediaPlayerPrivate to Chrome's video player. |
| 6 // It contains Pipeline which is the actual media player pipeline, it glues | 6 // It contains Pipeline which is the actual media player pipeline, it glues |
| 7 // the media player pipeline, data source, audio renderer and renderer. | 7 // the media player pipeline, data source, audio renderer and renderer. |
| 8 // Pipeline would creates multiple threads and access some public methods | 8 // Pipeline would creates multiple threads and access some public methods |
| 9 // of this class, so we need to be extra careful about concurrent access of | 9 // of this class, so we need to be extra careful about concurrent access of |
| 10 // methods and members. | 10 // methods and members. |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 68 |
| 69 class RenderAudioSourceProvider; | 69 class RenderAudioSourceProvider; |
| 70 | 70 |
| 71 namespace WebKit { | 71 namespace WebKit { |
| 72 class WebAudioSourceProvider; | 72 class WebAudioSourceProvider; |
| 73 class WebFrame; | 73 class WebFrame; |
| 74 } | 74 } |
| 75 | 75 |
| 76 namespace media { | 76 namespace media { |
| 77 class AudioRendererSink; | 77 class AudioRendererSink; |
| 78 class ChunkDemuxer; |
| 78 class MediaLog; | 79 class MediaLog; |
| 79 } | 80 } |
| 80 | 81 |
| 81 namespace webkit_media { | 82 namespace webkit_media { |
| 82 | 83 |
| 83 class MediaStreamClient; | 84 class MediaStreamClient; |
| 84 class WebMediaPlayerDelegate; | 85 class WebMediaPlayerDelegate; |
| 85 class WebMediaPlayerProxy; | 86 class WebMediaPlayerProxy; |
| 86 | 87 |
| 87 class WebMediaPlayerImpl | 88 class WebMediaPlayerImpl |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 scoped_refptr<media::AudioRendererSink> audio_renderer_sink_; | 339 scoped_refptr<media::AudioRendererSink> audio_renderer_sink_; |
| 339 | 340 |
| 340 bool is_local_source_; | 341 bool is_local_source_; |
| 341 bool supports_save_; | 342 bool supports_save_; |
| 342 | 343 |
| 343 // The decryptor that manages decryption keys and decrypts encrypted frames. | 344 // The decryptor that manages decryption keys and decrypts encrypted frames. |
| 344 ProxyDecryptor decryptor_; | 345 ProxyDecryptor decryptor_; |
| 345 | 346 |
| 346 bool starting_; | 347 bool starting_; |
| 347 | 348 |
| 349 scoped_refptr<media::ChunkDemuxer> chunk_demuxer_; |
| 350 |
| 348 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 351 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
| 349 }; | 352 }; |
| 350 | 353 |
| 351 } // namespace webkit_media | 354 } // namespace webkit_media |
| 352 | 355 |
| 353 #endif // WEBKIT_MEDIA_WEBMEDIAPLAYER_IMPL_H_ | 356 #endif // WEBKIT_MEDIA_WEBMEDIAPLAYER_IMPL_H_ |
| OLD | NEW |