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

Side by Side Diff: media/base/byte_queue.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/base/bitstream_buffer.h ('k') | media/base/cdm_callback_promise.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BASE_BYTE_QUEUE_H_ 5 #ifndef MEDIA_BASE_BYTE_QUEUE_H_
6 #define MEDIA_BASE_BYTE_QUEUE_H_ 6 #define MEDIA_BASE_BYTE_QUEUE_H_
7 7
8 #include <stddef.h>
9 #include <stdint.h>
10
8 #include "base/macros.h" 11 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
10 #include "media/base/media_export.h" 13 #include "media/base/media_export.h"
11 14
12 namespace media { 15 namespace media {
13 16
14 // Represents a queue of bytes. 17 // Represents a queue of bytes.
15 // Data is added to the end of the queue via an Push() call and removed via 18 // Data is added to the end of the queue via an Push() call and removed via
16 // Pop(). The contents of the queue can be observed via the Peek() method. 19 // Pop(). The contents of the queue can be observed via the Peek() method.
17 // This class manages the underlying storage of the queue and tries to minimize 20 // This class manages the underlying storage of the queue and tries to minimize
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 52
50 // Number of bytes stored in the queue. 53 // Number of bytes stored in the queue.
51 int used_; 54 int used_;
52 55
53 DISALLOW_COPY_AND_ASSIGN(ByteQueue); 56 DISALLOW_COPY_AND_ASSIGN(ByteQueue);
54 }; 57 };
55 58
56 } // namespace media 59 } // namespace media
57 60
58 #endif // MEDIA_BASE_BYTE_QUEUE_H_ 61 #endif // MEDIA_BASE_BYTE_QUEUE_H_
OLDNEW
« no previous file with comments | « media/base/bitstream_buffer.h ('k') | media/base/cdm_callback_promise.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698