| 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_BLINK_ENCRYPTED_MEDIA_PLAYER_SUPPORT_H_ | 5 #ifndef MEDIA_BLINK_ENCRYPTED_MEDIA_PLAYER_SUPPORT_H_ |
| 6 #define MEDIA_BLINK_ENCRYPTED_MEDIA_PLAYER_SUPPORT_H_ | 6 #define MEDIA_BLINK_ENCRYPTED_MEDIA_PLAYER_SUPPORT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 14 #include "media/base/cdm_context.h" | 15 #include "media/base/cdm_context.h" |
| 15 #include "media/base/cdm_factory.h" | 16 #include "media/base/cdm_factory.h" |
| 16 #include "media/base/demuxer.h" | 17 #include "media/base/demuxer.h" |
| 17 #include "media/base/eme_constants.h" | 18 #include "media/base/eme_constants.h" |
| 18 #include "media/cdm/proxy_decryptor.h" | 19 #include "media/cdm/proxy_decryptor.h" |
| 19 #include "third_party/WebKit/public/platform/WebContentDecryptionModuleResult.h" | 20 #include "third_party/WebKit/public/platform/WebContentDecryptionModuleResult.h" |
| 20 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" | 21 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" |
| 21 | 22 |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 | 112 |
| 112 // Manages decryption keys and decrypts encrypted frames. | 113 // Manages decryption keys and decrypts encrypted frames. |
| 113 scoped_ptr<ProxyDecryptor> proxy_decryptor_; | 114 scoped_ptr<ProxyDecryptor> proxy_decryptor_; |
| 114 | 115 |
| 115 DISALLOW_COPY_AND_ASSIGN(EncryptedMediaPlayerSupport); | 116 DISALLOW_COPY_AND_ASSIGN(EncryptedMediaPlayerSupport); |
| 116 }; | 117 }; |
| 117 | 118 |
| 118 } // namespace media | 119 } // namespace media |
| 119 | 120 |
| 120 #endif // MEDIA_BLINK_ENCRYPTED_MEDIA_PLAYER_SUPPORT_H_ | 121 #endif // MEDIA_BLINK_ENCRYPTED_MEDIA_PLAYER_SUPPORT_H_ |
| OLD | NEW |