| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_BASE_ANDROID_MEDIA_DRM_BRIDGE_DELEGATE_H_ | 5 #ifndef MEDIA_BASE_ANDROID_MEDIA_DRM_BRIDGE_DELEGATE_H_ |
| 6 #define MEDIA_BASE_ANDROID_MEDIA_DRM_BRIDGE_DELEGATE_H_ | 6 #define MEDIA_BASE_ANDROID_MEDIA_DRM_BRIDGE_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "media/base/android/media_client_android.h" | 14 #include "media/base/android/media_drm_bridge_client.h" |
| 15 #include "media/base/eme_constants.h" | 15 #include "media/base/eme_constants.h" |
| 16 #include "media/base/media_export.h" | 16 #include "media/base/media_export.h" |
| 17 | 17 |
| 18 namespace media { | 18 namespace media { |
| 19 | 19 |
| 20 // Allows embedders to modify the Android MediaDrm flow. Delegates are | 20 // Allows embedders to modify the Android MediaDrm flow. Delegates are |
| 21 // registered to a specific key system. | 21 // registered to a specific key system. |
| 22 class MEDIA_EXPORT MediaDrmBridgeDelegate { | 22 class MEDIA_EXPORT MediaDrmBridgeDelegate { |
| 23 public: | 23 public: |
| 24 MediaDrmBridgeDelegate(); | 24 MediaDrmBridgeDelegate(); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 39 std::vector<uint8_t>* init_data_out, | 39 std::vector<uint8_t>* init_data_out, |
| 40 std::vector<std::string>* optional_parameters_out); | 40 std::vector<std::string>* optional_parameters_out); |
| 41 | 41 |
| 42 private: | 42 private: |
| 43 DISALLOW_COPY_AND_ASSIGN(MediaDrmBridgeDelegate); | 43 DISALLOW_COPY_AND_ASSIGN(MediaDrmBridgeDelegate); |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace media | 46 } // namespace media |
| 47 | 47 |
| 48 #endif // MEDIA_BASE_ANDROID_MEDIA_DRM_BRIDGE_DELEGATE_H_ | 48 #endif // MEDIA_BASE_ANDROID_MEDIA_DRM_BRIDGE_DELEGATE_H_ |
| OLD | NEW |