| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #ifndef MEDIA_BASE_MEDIA_KEYS_H_ | 5 #ifndef MEDIA_BASE_MEDIA_KEYS_H_ |
| 6 #define MEDIA_BASE_MEDIA_KEYS_H_ | 6 #define MEDIA_BASE_MEDIA_KEYS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 typedef base::Callback<void(const std::string& session_id, | 75 typedef base::Callback<void(const std::string& session_id, |
| 76 media::MediaKeys::KeyError error_code, | 76 media::MediaKeys::KeyError error_code, |
| 77 int system_code)> KeyErrorCB; | 77 int system_code)> KeyErrorCB; |
| 78 | 78 |
| 79 typedef base::Callback<void(const std::string& session_id, | 79 typedef base::Callback<void(const std::string& session_id, |
| 80 const std::vector<uint8>& message, | 80 const std::vector<uint8>& message, |
| 81 const std::string& default_url)> KeyMessageCB; | 81 const std::string& default_url)> KeyMessageCB; |
| 82 | 82 |
| 83 typedef base::Callback<void(const std::string& session_id, | 83 typedef base::Callback<void(const std::string& session_id, |
| 84 const std::string& type, | 84 const std::string& type, |
| 85 scoped_ptr<uint8[]> init_data, | 85 const std::vector<uint8>& init_data)> NeedKeyCB; |
| 86 int init_data_size)> NeedKeyCB; | |
| 87 | 86 |
| 88 } // namespace media | 87 } // namespace media |
| 89 | 88 |
| 90 #endif // MEDIA_BASE_MEDIA_KEYS_H_ | 89 #endif // MEDIA_BASE_MEDIA_KEYS_H_ |
| OLD | NEW |