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

Side by Side Diff: media/renderers/video_renderer_impl_unittest.cc

Issue 941633004: Moved renderer implementation from media/filters/ to media/renderers/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed android build Created 5 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 unified diff | Download patch
« no previous file with comments | « media/renderers/video_renderer_impl.cc ('k') | media/test/pipeline_integration_test.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <utility> 5 #include <utility>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/callback_helpers.h" 9 #include "base/callback_helpers.h"
10 #include "base/debug/stack_trace.h" 10 #include "base/debug/stack_trace.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/stl_util.h" 12 #include "base/stl_util.h"
13 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
14 #include "base/strings/string_split.h" 14 #include "base/strings/string_split.h"
15 #include "base/strings/stringprintf.h" 15 #include "base/strings/stringprintf.h"
16 #include "base/synchronization/lock.h" 16 #include "base/synchronization/lock.h"
17 #include "media/base/data_buffer.h" 17 #include "media/base/data_buffer.h"
18 #include "media/base/gmock_callback_support.h" 18 #include "media/base/gmock_callback_support.h"
19 #include "media/base/limits.h" 19 #include "media/base/limits.h"
20 #include "media/base/mock_filters.h" 20 #include "media/base/mock_filters.h"
21 #include "media/base/test_helpers.h" 21 #include "media/base/test_helpers.h"
22 #include "media/base/video_frame.h" 22 #include "media/base/video_frame.h"
23 #include "media/filters/video_renderer_impl.h" 23 #include "media/renderers/video_renderer_impl.h"
24 #include "testing/gtest/include/gtest/gtest.h" 24 #include "testing/gtest/include/gtest/gtest.h"
25 25
26 using ::testing::_; 26 using ::testing::_;
27 using ::testing::AnyNumber; 27 using ::testing::AnyNumber;
28 using ::testing::Invoke; 28 using ::testing::Invoke;
29 using ::testing::NiceMock; 29 using ::testing::NiceMock;
30 using ::testing::Return; 30 using ::testing::Return;
31 using ::testing::SaveArg; 31 using ::testing::SaveArg;
32 using ::testing::StrictMock; 32 using ::testing::StrictMock;
33 33
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 .WillOnce(RunClosure(event.GetClosure())); 493 .WillOnce(RunClosure(event.GetClosure()));
494 SatisfyPendingReadWithEndOfStream(); 494 SatisfyPendingReadWithEndOfStream();
495 event.RunAndWait(); 495 event.RunAndWait();
496 } 496 }
497 497
498 WaitForEnded(); 498 WaitForEnded();
499 Destroy(); 499 Destroy();
500 } 500 }
501 501
502 } // namespace media 502 } // namespace media
OLDNEW
« no previous file with comments | « media/renderers/video_renderer_impl.cc ('k') | media/test/pipeline_integration_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698