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

Side by Side Diff: media/filters/pipeline_integration_test.cc

Issue 22362007: Relocate last remnants of webkit/renderer/media code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make chromeos crypto dep explicit. 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/crypto/aes_decryptor_unittest.cc ('k') | media/media.gyp » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/filters/pipeline_integration_test_base.h" 5 #include "media/filters/pipeline_integration_test_base.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "media/base/decoder_buffer.h" 11 #include "media/base/decoder_buffer.h"
12 #include "media/base/media_keys.h" 12 #include "media/base/media_keys.h"
13 #include "media/base/test_data_util.h" 13 #include "media/base/test_data_util.h"
14 #include "media/crypto/aes_decryptor.h" 14 #include "media/cdm/aes_decryptor.h"
15 #include "media/filters/chunk_demuxer.h" 15 #include "media/filters/chunk_demuxer.h"
16 16
17 using testing::AnyNumber; 17 using testing::AnyNumber;
18 using testing::AtMost; 18 using testing::AtMost;
19 19
20 namespace media { 20 namespace media {
21 21
22 static const char kSourceId[] = "SourceId"; 22 static const char kSourceId[] = "SourceId";
23 static const char kClearKeySystem[] = "org.w3.clearkey"; 23 static const char kClearKeySystem[] = "org.w3.clearkey";
24 static const uint8 kInitData[] = { 0x69, 0x6e, 0x69, 0x74 }; 24 static const uint8 kInitData[] = { 0x69, 0x6e, 0x69, 0x74 };
(...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after
948 948
949 // Verify that VP8 video with inband text track can be played back. 949 // Verify that VP8 video with inband text track can be played back.
950 TEST_F(PipelineIntegrationTest, BasicPlayback_VP8_WebVTT_WebM) { 950 TEST_F(PipelineIntegrationTest, BasicPlayback_VP8_WebVTT_WebM) {
951 ASSERT_TRUE(Start(GetTestDataFilePath("bear-vp8-webvtt.webm"), 951 ASSERT_TRUE(Start(GetTestDataFilePath("bear-vp8-webvtt.webm"),
952 PIPELINE_OK)); 952 PIPELINE_OK));
953 Play(); 953 Play();
954 ASSERT_TRUE(WaitUntilOnEnded()); 954 ASSERT_TRUE(WaitUntilOnEnded());
955 } 955 }
956 956
957 } // namespace media 957 } // namespace media
OLDNEW
« no previous file with comments | « media/crypto/aes_decryptor_unittest.cc ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698