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

Unified Diff: media/filters/h264_bit_reader_unittest.cc

Issue 119153002: Move H264Parser and H264BitReader to media/filters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/filters/h264_bit_reader.cc ('k') | media/filters/h264_parser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/h264_bit_reader_unittest.cc
diff --git a/content/common/gpu/media/h264_bit_reader_unittest.cc b/media/filters/h264_bit_reader_unittest.cc
similarity index 96%
rename from content/common/gpu/media/h264_bit_reader_unittest.cc
rename to media/filters/h264_bit_reader_unittest.cc
index a02a21c12547000a3f0b4ec14be8594f55f3451c..bdba4623fad4004c7020afb2905d3604e8f0ca2d 100644
--- a/content/common/gpu/media/h264_bit_reader_unittest.cc
+++ b/media/filters/h264_bit_reader_unittest.cc
@@ -2,11 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "media/filters/h264_bit_reader.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include "content/common/gpu/media/h264_bit_reader.h"
-
-using content::H264BitReader;
+namespace media {
TEST(H264BitReaderTest, ReadStreamWithoutEscapeAndTrailingZeroBytes) {
H264BitReader reader;
@@ -70,3 +69,5 @@ TEST(H264BitReaderTest, StopBitOccupyFullByte) {
EXPECT_EQ(reader.NumBitsLeft(), 8);
EXPECT_FALSE(reader.HasMoreRBSPData());
}
+
+} // namespace media
« no previous file with comments | « media/filters/h264_bit_reader.cc ('k') | media/filters/h264_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698