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

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

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 years, 7 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
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/renderers/audio_renderer_impl.h" 5 #include "media/renderers/audio_renderer_impl.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/callback_helpers.h" 12 #include "base/callback_helpers.h"
13 #include "base/format_macros.h" 13 #include "base/format_macros.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ptr_util.h" 15 #include "base/memory/ptr_util.h"
16 #include "base/message_loop/message_loop.h"
16 #include "base/run_loop.h" 17 #include "base/run_loop.h"
17 #include "base/single_thread_task_runner.h" 18 #include "base/single_thread_task_runner.h"
18 #include "base/strings/stringprintf.h" 19 #include "base/strings/stringprintf.h"
19 #include "base/test/simple_test_tick_clock.h" 20 #include "base/test/simple_test_tick_clock.h"
20 #include "media/base/audio_buffer_converter.h" 21 #include "media/base/audio_buffer_converter.h"
21 #include "media/base/fake_audio_renderer_sink.h" 22 #include "media/base/fake_audio_renderer_sink.h"
22 #include "media/base/gmock_callback_support.h" 23 #include "media/base/gmock_callback_support.h"
23 #include "media/base/media_util.h" 24 #include "media/base/media_util.h"
24 #include "media/base/mock_filters.h" 25 #include "media/base/mock_filters.h"
25 #include "media/base/test_helpers.h" 26 #include "media/base/test_helpers.h"
(...skipping 1067 matching lines...) Expand 10 before | Expand all | Expand 10 after
1093 // Advance far enough that we shouldn't be clamped to current time (tested 1094 // Advance far enough that we shouldn't be clamped to current time (tested
1094 // already above). 1095 // already above).
1095 tick_clock_->Advance(kOneSecond); 1096 tick_clock_->Advance(kOneSecond);
1096 EXPECT_EQ( 1097 EXPECT_EQ(
1097 current_time + timestamp_helper.GetFrameDuration(frames_to_consume.value), 1098 current_time + timestamp_helper.GetFrameDuration(frames_to_consume.value),
1098 CurrentMediaWallClockTime(&is_time_moving)); 1099 CurrentMediaWallClockTime(&is_time_moving));
1099 EXPECT_TRUE(is_time_moving); 1100 EXPECT_TRUE(is_time_moving);
1100 } 1101 }
1101 1102
1102 } // namespace media 1103 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698