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

Side by Side Diff: media/cdm/json_web_key.h

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 5 years 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
« no previous file with comments | « media/cdm/external_clear_key_test_helper.cc ('k') | media/cdm/json_web_key.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_CDM_JSON_WEB_KEY_H_ 5 #ifndef MEDIA_CDM_JSON_WEB_KEY_H_
6 #define MEDIA_CDM_JSON_WEB_KEY_H_ 6 #define MEDIA_CDM_JSON_WEB_KEY_H_
7 7
8 #include <stdint.h>
9
8 #include <string> 10 #include <string>
9 #include <utility> 11 #include <utility>
10 #include <vector> 12 #include <vector>
11 13
12 #include "media/base/media_export.h" 14 #include "media/base/media_export.h"
13 #include "media/base/media_keys.h" 15 #include "media/base/media_keys.h"
14 16
15 namespace media { 17 namespace media {
16 18
17 // The ClearKey license request format (ref: 19 // The ClearKey license request format (ref:
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // Extract the first key from the license request message. Returns true if 96 // Extract the first key from the license request message. Returns true if
95 // |license| is a valid license request and contains at least one key, 97 // |license| is a valid license request and contains at least one key,
96 // otherwise false and |first_key| is not touched. 98 // otherwise false and |first_key| is not touched.
97 MEDIA_EXPORT bool ExtractFirstKeyIdFromLicenseRequest( 99 MEDIA_EXPORT bool ExtractFirstKeyIdFromLicenseRequest(
98 const std::vector<uint8_t>& license, 100 const std::vector<uint8_t>& license,
99 std::vector<uint8_t>* first_key); 101 std::vector<uint8_t>* first_key);
100 102
101 } // namespace media 103 } // namespace media
102 104
103 #endif // MEDIA_CDM_JSON_WEB_KEY_H_ 105 #endif // MEDIA_CDM_JSON_WEB_KEY_H_
OLDNEW
« no previous file with comments | « media/cdm/external_clear_key_test_helper.cc ('k') | media/cdm/json_web_key.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698