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(EncryptionScheme::kCipherModeUnencrypted); |
| 15 } |
| 16 |
| 17 EncryptionScheme AesCtrEncryptionScheme() { |
| 18 return EncryptionScheme(EncryptionScheme::kCipherModeAesCtr); |
| 19 } |
| 20 |
13 } // namespace media | 21 } // namespace media |
OLD | NEW |