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

Unified Diff: media/base/data_buffer.h

Issue 27120: Added IsEndOfStream and IsDiscontiguous flags to buffers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/buffers.h ('k') | media/base/data_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/data_buffer.h
===================================================================
--- media/base/data_buffer.h (revision 10301)
+++ media/base/data_buffer.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2008-2009 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.
@@ -19,12 +19,6 @@
DataBuffer(char* data, size_t buffer_size, size_t data_size,
const base::TimeDelta& timestamp, const base::TimeDelta& duration);
- // StreamSample implementation.
- virtual base::TimeDelta GetTimestamp() const;
- virtual void SetTimestamp(const base::TimeDelta& timestamp);
- virtual base::TimeDelta GetDuration() const;
- virtual void SetDuration(const base::TimeDelta& duration);
-
// Buffer implementation.
virtual const char* GetData() const;
virtual size_t GetDataSize() const;
@@ -41,8 +35,6 @@
char* data_;
size_t buffer_size_;
size_t data_size_;
- base::TimeDelta timestamp_;
- base::TimeDelta duration_;
};
} // namespace media
« no previous file with comments | « media/base/buffers.h ('k') | media/base/data_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698