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

Side by Side Diff: media/filters/source_buffer_range.h

Issue 1535193003: Add missing macros includes in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/filters/opus_audio_decoder.h ('k') | media/filters/source_buffer_stream.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 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 <map> 8 #include <map>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
12 #include "media/base/stream_parser_buffer.h" 13 #include "media/base/stream_parser_buffer.h"
13 14
14 namespace media { 15 namespace media {
15 16
16 // Helper class representing a range of buffered data. All buffers in a 17 // Helper class representing a range of buffered data. All buffers in a
17 // SourceBufferRange are ordered sequentially in decode timestamp order with no 18 // SourceBufferRange are ordered sequentially in decode timestamp order with no
18 // gaps. 19 // gaps.
19 class SourceBufferRange { 20 class SourceBufferRange {
20 public: 21 public:
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 288
288 // Stores the amount of memory taken up by the data in |buffers_|. 289 // Stores the amount of memory taken up by the data in |buffers_|.
289 size_t size_in_bytes_; 290 size_t size_in_bytes_;
290 291
291 DISALLOW_COPY_AND_ASSIGN(SourceBufferRange); 292 DISALLOW_COPY_AND_ASSIGN(SourceBufferRange);
292 }; 293 };
293 294
294 } // namespace media 295 } // namespace media
295 296
296 #endif // MEDIA_FILTERS_SOURCE_BUFFER_RANGE_H_ 297 #endif // MEDIA_FILTERS_SOURCE_BUFFER_RANGE_H_
OLDNEW
« no previous file with comments | « media/filters/opus_audio_decoder.h ('k') | media/filters/source_buffer_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698