OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "webkit/media/android/media_source_delegate.h" | 5 #include "webkit/media/android/media_source_delegate.h" |
6 | 6 |
7 #include "base/message_loop_proxy.h" | 7 #include "base/message_loop_proxy.h" |
8 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
9 #include "media/base/android/demuxer_stream_player_params.h" | 9 #include "media/base/android/demuxer_stream_player_params.h" |
10 #include "media/base/bind_to_loop.h" | 10 #include "media/base/bind_to_loop.h" |
11 #include "media/base/demuxer_stream.h" | 11 #include "media/base/demuxer_stream.h" |
12 #include "media/base/media_log.h" | 12 #include "media/base/media_log.h" |
13 #include "media/filters/chunk_demuxer.h" | 13 #include "media/filters/chunk_demuxer.h" |
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" | 14 #include "third_party/WebKit/public/platform/WebString.h" |
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerClient.
h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerClient.
h" |
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaSource.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaSource.h" |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h" |
18 #include "webkit/media/android/webmediaplayer_proxy_android.h" | 18 #include "webkit/media/android/webmediaplayer_proxy_android.h" |
19 #include "webkit/media/crypto/key_systems.h" | 19 #include "webkit/media/crypto/key_systems.h" |
20 #include "webkit/media/crypto/proxy_decryptor.h" | 20 #include "webkit/media/crypto/proxy_decryptor.h" |
21 #include "webkit/media/webmediaplayer_util.h" | 21 #include "webkit/media/webmediaplayer_util.h" |
22 #include "webkit/media/webmediasourceclient_impl.h" | 22 #include "webkit/media/webmediasourceclient_impl.h" |
23 | 23 |
24 using media::DemuxerStream; | 24 using media::DemuxerStream; |
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
450 | 450 |
451 client_->keyNeeded(WebString::fromUTF8(key_system), | 451 client_->keyNeeded(WebString::fromUTF8(key_system), |
452 WebString::fromUTF8(session_id), | 452 WebString::fromUTF8(session_id), |
453 init_data.get(), | 453 init_data.get(), |
454 init_data_size); | 454 init_data_size); |
455 } | 455 } |
456 | 456 |
457 void MediaSourceDelegate::OnDecryptorReady(media::Decryptor* decryptor) {} | 457 void MediaSourceDelegate::OnDecryptorReady(media::Decryptor* decryptor) {} |
458 | 458 |
459 } // namespace webkit_media | 459 } // namespace webkit_media |
OLD | NEW |