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

Side by Side Diff: media/base/decoder_buffer_queue.h

Issue 18052007: Use a direct include of time headers in media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months 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 | Annotate | Revision Log
« no previous file with comments | « media/base/decoder_buffer.h ('k') | media/base/demuxer.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_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 <deque> 8 #include <deque>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/time.h" 11 #include "base/time/time.h"
12 #include "media/base/media_export.h" 12 #include "media/base/media_export.h"
13 13
14 namespace media { 14 namespace media {
15 15
16 class DecoderBuffer; 16 class DecoderBuffer;
17 17
18 // Maintains a queue of DecoderBuffers in increasing timestamp order. 18 // Maintains a queue of DecoderBuffers in increasing timestamp order.
19 // 19 //
20 // Individual buffer durations are ignored when calculating the duration of the 20 // Individual buffer durations are ignored when calculating the duration of the
21 // queue i.e., the queue must have at least 2 in-order buffers to calculate 21 // queue i.e., the queue must have at least 2 in-order buffers to calculate
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 Queue in_order_queue_; 61 Queue in_order_queue_;
62 62
63 base::TimeDelta earliest_valid_timestamp_; 63 base::TimeDelta earliest_valid_timestamp_;
64 64
65 DISALLOW_COPY_AND_ASSIGN(DecoderBufferQueue); 65 DISALLOW_COPY_AND_ASSIGN(DecoderBufferQueue);
66 }; 66 };
67 67
68 } // namespace media 68 } // namespace media
69 69
70 #endif // MEDIA_BASE_DECODER_BUFFER_QUEUE_H_ 70 #endif // MEDIA_BASE_DECODER_BUFFER_QUEUE_H_
OLDNEW
« no previous file with comments | « media/base/decoder_buffer.h ('k') | media/base/demuxer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698