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 #ifndef MEDIA_BASE_ANDROID_MEDIA_PLAYER_MANAGER_H_ | 5 #ifndef MEDIA_BASE_ANDROID_MEDIA_PLAYER_MANAGER_H_ |
6 #define MEDIA_BASE_ANDROID_MEDIA_PLAYER_MANAGER_H_ | 6 #define MEDIA_BASE_ANDROID_MEDIA_PLAYER_MANAGER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
99 virtual void OnKeyError(int media_keys_id, | 99 virtual void OnKeyError(int media_keys_id, |
100 const std::string& session_id, | 100 const std::string& session_id, |
101 media::MediaKeys::KeyError error_code, | 101 media::MediaKeys::KeyError error_code, |
102 int system_code) = 0; | 102 int system_code) = 0; |
103 | 103 |
104 // Called when MediaDrmBridge wants to send a KeyMessage. | 104 // Called when MediaDrmBridge wants to send a KeyMessage. |
105 virtual void OnKeyMessage(int media_keys_id, | 105 virtual void OnKeyMessage(int media_keys_id, |
106 const std::string& session_id, | 106 const std::string& session_id, |
107 const std::vector<uint8>& message, | 107 const std::vector<uint8>& message, |
108 const std::string& destination_url) = 0; | 108 const std::string& destination_url) = 0; |
109 | |
110 // Test-only method to hook completion of decode cycles in MediaSourcePlayer. | |
111 virtual void OnMediaDecoderCallbackForTesting() = 0; | |
acolwell GONE FROM CHROMIUM
2013/10/30 23:29:53
This does not seem right. Why don't you just put a
wolenetz
2013/10/31 01:39:11
Thanks for catching this. Putting this in MSP simp
| |
109 }; | 112 }; |
110 | 113 |
111 } // namespace media | 114 } // namespace media |
112 | 115 |
113 #endif // MEDIA_BASE_ANDROID_MEDIA_PLAYER_MANAGER_H_ | 116 #endif // MEDIA_BASE_ANDROID_MEDIA_PLAYER_MANAGER_H_ |
OLD | NEW |