OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FILTERS_SOURCE_BUFFER_RANGE_H_ | 5 #ifndef MEDIA_FILTERS_SOURCE_BUFFER_RANGE_H_ |
6 #define MEDIA_FILTERS_SOURCE_BUFFER_RANGE_H_ | 6 #define MEDIA_FILTERS_SOURCE_BUFFER_RANGE_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 | 11 |
10 #include "base/callback.h" | 12 #include "base/callback.h" |
11 #include "base/macros.h" | 13 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
13 #include "media/base/stream_parser_buffer.h" | 15 #include "media/base/stream_parser_buffer.h" |
14 | 16 |
15 namespace media { | 17 namespace media { |
16 | 18 |
17 // Helper class representing a range of buffered data. All buffers in a | 19 // Helper class representing a range of buffered data. All buffers in a |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 | 290 |
289 // Stores the amount of memory taken up by the data in |buffers_|. | 291 // Stores the amount of memory taken up by the data in |buffers_|. |
290 size_t size_in_bytes_; | 292 size_t size_in_bytes_; |
291 | 293 |
292 DISALLOW_COPY_AND_ASSIGN(SourceBufferRange); | 294 DISALLOW_COPY_AND_ASSIGN(SourceBufferRange); |
293 }; | 295 }; |
294 | 296 |
295 } // namespace media | 297 } // namespace media |
296 | 298 |
297 #endif // MEDIA_FILTERS_SOURCE_BUFFER_RANGE_H_ | 299 #endif // MEDIA_FILTERS_SOURCE_BUFFER_RANGE_H_ |
OLD | NEW |