Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(492)

Side by Side Diff: media/crypto/decryptor_helpers.h

Issue 10829470: Support for parsing encrypted WebM streams by src. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed bug with playing latest encrypted WebM. Addressing comments. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | media/crypto/decryptor_helpers.cc » ('j') | media/crypto/decryptor_helpers.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
ddorwin 2012/09/01 16:46:41 Are there likely to be more functions in this file
fgalligan1 2013/03/09 01:10:59 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MEDIA_CRYPTO_DECRYPTOR_HELPERS_H_
6 #define MEDIA_CRYPTO_DECRYPTOR_HELPERS_H_
7
8 #include "base/basictypes.h"
9
10 #include <string>
xhwang 2012/08/29 05:08:14 c++ headers should go before chromium headers. So
fgalligan1 2013/03/09 01:10:59 Done.
11
12 namespace media {
13
14 // Generates a 16 byte CTR counter block. The CTR counter block format is a
15 // CTR IV appended with a CTR block counter. |iv| is an 8 byte CTR IV.
16 // Returns a string of kDecryptionKeySize bytes.
17 std::string GenerateCounterBlock(uint64 iv);
ddorwin 2012/09/01 16:46:41 GenerateWebMCounterBlock?
fgalligan1 2013/03/09 01:10:59 Done.
18
19 } // webkit_media
xhwang 2012/08/29 05:08:14 This should be "// namespace media"
fgalligan1 2013/03/09 01:10:59 Done.
20
21 #endif // MEDIA_CRYPTO_DECRYPTOR_HELPERS_H_
OLDNEW
« no previous file with comments | « no previous file | media/crypto/decryptor_helpers.cc » ('j') | media/crypto/decryptor_helpers.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698