Index: media/base/pts_heap.cc |
diff --git a/media/base/pts_heap.cc b/media/base/pts_heap.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b244b6fb05a55c88484219ec7524112ea20a94fe |
--- /dev/null |
+++ b/media/base/pts_heap.cc |
@@ -0,0 +1,21 @@ |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. Use of this |
+// source code is governed by a BSD-style license that can be found in the |
+// LICENSE file. |
+ |
+#include "media/base/pts_heap.h" |
+ |
+namespace media { |
+ |
+PtsHeap::PtsHeap() {} |
+ |
+PtsHeap::~PtsHeap() {} |
+ |
+void PtsHeap::Push(const base::TimeDelta& pts) { |
+ queue_.push(pts); |
+} |
+ |
+void PtsHeap::Pop() { |
+ queue_.pop(); |
+} |
+ |
+} // namespace media |