OLD | NEW |
---|---|
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_REMOTING_RPC_PROTO_UTILS_H_ | 5 #ifndef MEDIA_REMOTING_RPC_PROTO_UTILS_H_ |
6 #define MEDIA_REMOTING_RPC_PROTO_UTILS_H_ | 6 #define MEDIA_REMOTING_RPC_PROTO_UTILS_H_ |
7 | 7 |
8 #include <cstdint> | 8 #include <cstdint> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "media/base/audio_decoder_config.h" | 14 #include "media/base/audio_decoder_config.h" |
15 #include "media/base/cdm_config.h" | 15 #include "media/base/cdm_config.h" |
16 #include "media/base/cdm_key_information.h" | 16 #include "media/base/cdm_key_information.h" |
17 #include "media/base/cdm_promise.h" | 17 #include "media/base/cdm_promise.h" |
18 #include "media/base/content_decryption_module.h" | |
jrummell
2016/12/12 22:08:40
nit: Don't think this is needed.
xhwang
2016/12/12 22:32:51
Done.
| |
18 #include "media/base/decoder_buffer.h" | 19 #include "media/base/decoder_buffer.h" |
19 #include "media/base/demuxer_stream.h" | 20 #include "media/base/demuxer_stream.h" |
20 #include "media/base/eme_constants.h" | 21 #include "media/base/eme_constants.h" |
21 #include "media/base/media_keys.h" | |
22 #include "media/base/pipeline_status.h" | 22 #include "media/base/pipeline_status.h" |
23 #include "media/base/video_decoder_config.h" | 23 #include "media/base/video_decoder_config.h" |
24 #include "media/remoting/remoting_rpc_message.pb.h" | 24 #include "media/remoting/remoting_rpc_message.pb.h" |
25 | 25 |
26 namespace media { | 26 namespace media { |
27 namespace remoting { | 27 namespace remoting { |
28 | 28 |
29 class CdmPromiseResult; | 29 class CdmPromiseResult; |
30 | 30 |
31 // Utility class to convert data between ::media::DecoderBuffer and byte array. | 31 // Utility class to convert data between ::media::DecoderBuffer and byte array. |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
123 bool success_; | 123 bool success_; |
124 ::media::CdmPromise::Exception exception_; | 124 ::media::CdmPromise::Exception exception_; |
125 uint32_t system_code_; | 125 uint32_t system_code_; |
126 std::string error_message_; | 126 std::string error_message_; |
127 }; | 127 }; |
128 | 128 |
129 } // namespace remoting | 129 } // namespace remoting |
130 } // namespace media | 130 } // namespace media |
131 | 131 |
132 #endif // MEDIA_REMOTING_RPC_PROTO_UTILS_H_ | 132 #endif // MEDIA_REMOTING_RPC_PROTO_UTILS_H_ |
OLD | NEW |