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

Side by Side Diff: components/audio_modem/audio_player_unittest.cc

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/audio_modem/audio_player.h" 5 #include "components/audio_modem/audio_player.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/run_loop.h" 13 #include "base/run_loop.h"
14 #include "base/test/test_message_loop.h" 14 #include "base/test/test_message_loop.h"
15 #include "base/thread_task_runner_handle.h" 15 #include "base/threading/thread_task_runner_handle.h"
16 #include "components/audio_modem/audio_player_impl.h" 16 #include "components/audio_modem/audio_player_impl.h"
17 #include "components/audio_modem/public/audio_modem_types.h" 17 #include "components/audio_modem/public/audio_modem_types.h"
18 #include "components/audio_modem/test/random_samples.h" 18 #include "components/audio_modem/test/random_samples.h"
19 #include "media/audio/audio_manager_base.h" 19 #include "media/audio/audio_manager_base.h"
20 #include "media/base/audio_bus.h" 20 #include "media/base/audio_bus.h"
21 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
22 22
23 namespace { 23 namespace {
24 24
25 class TestAudioOutputStream : public media::AudioOutputStream { 25 class TestAudioOutputStream : public media::AudioOutputStream {
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 215
216 PlayAndVerifySamples( 216 PlayAndVerifySamples(
217 CreateRandomAudioRefCounted(0x7331, 1, kNumSamples - 3123)); 217 CreateRandomAudioRefCounted(0x7331, 1, kNumSamples - 3123));
218 218
219 PlayAndVerifySamples(CreateRandomAudioRefCounted(0xf00d, 1, kNumSamples * 2)); 219 PlayAndVerifySamples(CreateRandomAudioRefCounted(0xf00d, 1, kNumSamples * 2));
220 220
221 DeletePlayer(); 221 DeletePlayer();
222 } 222 }
223 223
224 } // namespace audio_modem 224 } // namespace audio_modem
OLDNEW
« no previous file with comments | « components/arc/net/arc_net_host_impl.cc ('k') | components/audio_modem/audio_recorder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698