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

Side by Side Diff: media/cdm/cdm_buffer_impl.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/cdm_adapter_unittest.cc ('k') | media/cdm/cdm_helpers.h » ('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 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 #ifndef MEDIA_CDM_CDM_BUFFER_IMPL_H_ 5 #ifndef MEDIA_CDM_CDM_BUFFER_IMPL_H_
6 #define MEDIA_CDM_CDM_BUFFER_IMPL_H_ 6 #define MEDIA_CDM_CDM_BUFFER_IMPL_H_
7 7
8 #include <stdint.h>
9
8 #include <vector> 10 #include <vector>
9 11
10 #include "base/macros.h" 12 #include "base/macros.h"
11 #include "media/cdm/api/content_decryption_module.h" 13 #include "media/cdm/api/content_decryption_module.h"
12 14
13 namespace media { 15 namespace media {
14 16
15 // cdm::Buffer implementation that provides access to memory. This is a simple 17 // cdm::Buffer implementation that provides access to memory. This is a simple
16 // implementation that stores the data in a std::vector<uint8_t>. 18 // implementation that stores the data in a std::vector<uint8_t>.
17 class CdmBuffer : public cdm::Buffer { 19 class CdmBuffer : public cdm::Buffer {
(...skipping 13 matching lines...) Expand all
31 33
32 std::vector<uint8_t> buffer_; 34 std::vector<uint8_t> buffer_;
33 uint32_t size_; 35 uint32_t size_;
34 36
35 DISALLOW_COPY_AND_ASSIGN(CdmBuffer); 37 DISALLOW_COPY_AND_ASSIGN(CdmBuffer);
36 }; 38 };
37 39
38 } // namespace media 40 } // namespace media
39 41
40 #endif 42 #endif
OLDNEW
« no previous file with comments | « media/cdm/cdm_adapter_unittest.cc ('k') | media/cdm/cdm_helpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698