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

Side by Side Diff: media/formats/common/offset_byte_queue.cc

Issue 1133363002: Getting rid of duplicate includes from media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « media/filters/vpx_video_decoder.cc ('k') | media/formats/mp2t/es_adapter_video.cc » ('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 #include "media/formats/common/offset_byte_queue.h" 5 #include "media/formats/common/offset_byte_queue.h"
6 6
7 #include "base/basictypes.h"
8 #include "base/logging.h" 7 #include "base/logging.h"
9 8
10 namespace media { 9 namespace media {
11 10
12 OffsetByteQueue::OffsetByteQueue() : buf_(NULL), size_(0), head_(0) {} 11 OffsetByteQueue::OffsetByteQueue() : buf_(NULL), size_(0), head_(0) {}
13 OffsetByteQueue::~OffsetByteQueue() {} 12 OffsetByteQueue::~OffsetByteQueue() {}
14 13
15 void OffsetByteQueue::Reset() { 14 void OffsetByteQueue::Reset() {
16 queue_.Reset(); 15 queue_.Reset();
17 buf_ = NULL; 16 buf_ = NULL;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 } 54 }
56 Pop(max_offset - head_); 55 Pop(max_offset - head_);
57 return true; 56 return true;
58 } 57 }
59 58
60 void OffsetByteQueue::Sync() { 59 void OffsetByteQueue::Sync() {
61 queue_.Peek(&buf_, &size_); 60 queue_.Peek(&buf_, &size_);
62 } 61 }
63 62
64 } // namespace media 63 } // namespace media
OLDNEW
« no previous file with comments | « media/filters/vpx_video_decoder.cc ('k') | media/formats/mp2t/es_adapter_video.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698