OLD | NEW |
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_DECODER_BUFFER_QUEUE_H_ | 5 #ifndef MEDIA_BASE_DECODER_BUFFER_QUEUE_H_ |
6 #define MEDIA_BASE_DECODER_BUFFER_QUEUE_H_ | 6 #define MEDIA_BASE_DECODER_BUFFER_QUEUE_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <deque> | 10 #include <deque> |
9 | 11 |
10 #include "base/macros.h" | 12 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
12 #include "base/time/time.h" | 14 #include "base/time/time.h" |
13 #include "media/base/media_export.h" | 15 #include "media/base/media_export.h" |
14 | 16 |
15 namespace media { | 17 namespace media { |
16 | 18 |
17 class DecoderBuffer; | 19 class DecoderBuffer; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 70 |
69 // Total size in bytes of buffers in the queue. | 71 // Total size in bytes of buffers in the queue. |
70 size_t data_size_; | 72 size_t data_size_; |
71 | 73 |
72 DISALLOW_COPY_AND_ASSIGN(DecoderBufferQueue); | 74 DISALLOW_COPY_AND_ASSIGN(DecoderBufferQueue); |
73 }; | 75 }; |
74 | 76 |
75 } // namespace media | 77 } // namespace media |
76 | 78 |
77 #endif // MEDIA_BASE_DECODER_BUFFER_QUEUE_H_ | 79 #endif // MEDIA_BASE_DECODER_BUFFER_QUEUE_H_ |
OLD | NEW |