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

Side by Side Diff: media/base/pipeline_impl_unittest.cc

Issue 7452016: Remove MediaFormat once and for all. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: Created 9 years, 5 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/base/pipeline_impl.cc ('k') | media/filters/adaptive_demuxer.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <string> 5 #include <string>
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/stl_util.h" 8 #include "base/stl_util.h"
9 #include "base/threading/simple_thread.h" 9 #include "base/threading/simple_thread.h"
10 #include "media/base/pipeline_impl.h" 10 #include "media/base/pipeline_impl.h"
11 #include "media/base/media_format.h"
12 #include "media/base/filters.h" 11 #include "media/base/filters.h"
13 #include "media/base/filter_host.h" 12 #include "media/base/filter_host.h"
14 #include "media/base/mock_callback.h" 13 #include "media/base/mock_callback.h"
15 #include "media/base/mock_filters.h" 14 #include "media/base/mock_filters.h"
16 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
17 16
18 using ::testing::_; 17 using ::testing::_;
19 using ::testing::DeleteArg; 18 using ::testing::DeleteArg;
20 using ::testing::InSequence; 19 using ::testing::InSequence;
21 using ::testing::Invoke; 20 using ::testing::Invoke;
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
893 TestPipelineStatusNotification(0); 892 TestPipelineStatusNotification(0);
894 } 893 }
895 894
896 // Test that different-thread, some-delay callback (the expected common case) 895 // Test that different-thread, some-delay callback (the expected common case)
897 // works correctly. 896 // works correctly.
898 TEST(PipelineStatusNotificationTest, DelayedCallback) { 897 TEST(PipelineStatusNotificationTest, DelayedCallback) {
899 TestPipelineStatusNotification(20); 898 TestPipelineStatusNotification(20);
900 } 899 }
901 900
902 } // namespace media 901 } // namespace media
OLDNEW
« no previous file with comments | « media/base/pipeline_impl.cc ('k') | media/filters/adaptive_demuxer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698