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

Unified Diff: media/base/encoded_bitstream_buffer.cc

Issue 21421002: Revert EVS revisions 209760, 298753, 213143. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased at 216225, prepare to land Created 7 years, 4 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/encoded_bitstream_buffer.h ('k') | media/media.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/encoded_bitstream_buffer.cc
diff --git a/media/base/encoded_bitstream_buffer.cc b/media/base/encoded_bitstream_buffer.cc
deleted file mode 100644
index 3689015d2e6eb6b64b4b2ff3408c221342250aa4..0000000000000000000000000000000000000000
--- a/media/base/encoded_bitstream_buffer.cc
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright 2013 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/encoded_bitstream_buffer.h"
-
-#include "base/logging.h"
-
-namespace media {
-
-EncodedBitstreamBuffer::EncodedBitstreamBuffer(
- int buffer_id,
- uint8* buffer,
- uint32 size,
- base::SharedMemoryHandle handle,
- const media::BufferEncodingMetadata& metadata,
- const base::Closure& destroy_cb)
- : buffer_id_(buffer_id),
- buffer_(buffer),
- size_(size),
- shared_memory_handle_(handle),
- metadata_(metadata),
- destroy_cb_(destroy_cb) {
-}
-
-EncodedBitstreamBuffer::~EncodedBitstreamBuffer() {
- destroy_cb_.Run();
-}
-
-int EncodedBitstreamBuffer::buffer_id() const {
- return buffer_id_;
-}
-
-const uint8* EncodedBitstreamBuffer::buffer() const {
- return buffer_;
-}
-
-uint32 EncodedBitstreamBuffer::size() const {
- return size_;
-}
-
-base::SharedMemoryHandle EncodedBitstreamBuffer::shared_memory_handle() const {
- return shared_memory_handle_;
-}
-
-const media::BufferEncodingMetadata& EncodedBitstreamBuffer::metadata() const {
- return metadata_;
-}
-
-} // namespace media
« no previous file with comments | « media/base/encoded_bitstream_buffer.h ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698