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 #include "media/base/media_util.h" | 5 #include "media/base/media_util.h" |
6 | 6 |
7 namespace media { | 7 namespace media { |
8 | 8 |
9 std::vector<uint8_t> EmptyExtraData() { | 9 std::vector<uint8_t> EmptyExtraData() { |
10 return std::vector<uint8_t>(); | 10 return std::vector<uint8_t>(); |
11 } | 11 } |
12 | 12 |
13 EncryptionScheme Unencrypted() { | |
14 return EncryptionScheme(); | |
15 } | |
16 | |
17 EncryptionScheme AesCtrEncryptionScheme() { | |
18 return EncryptionScheme(EncryptionScheme::CIPHER_MODE_AES_CTR, | |
19 EncryptionScheme::Pattern()); | |
xhwang
2016/03/07 18:39:52
nit: EncryptionScheme(EncryptionScheme::CIPHER_MOD
dougsteed
2016/03/07 21:12:40
Done.
| |
20 } | |
21 | |
13 } // namespace media | 22 } // namespace media |
OLD | NEW |