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

Side by Side Diff: media/audio/audio_manager_unittest.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 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
« no previous file with comments | « media/audio/audio_manager_base.h ('k') | media/audio/mock_audio_manager.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 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 "media/audio/audio_manager.h" 5 #include "media/audio/audio_manager.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/environment.h" 11 #include "base/environment.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/memory/ptr_util.h" 13 #include "base/memory/ptr_util.h"
14 #include "base/run_loop.h" 14 #include "base/run_loop.h"
15 #include "base/single_thread_task_runner.h"
15 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
16 #include "base/synchronization/waitable_event.h" 17 #include "base/synchronization/waitable_event.h"
17 #include "base/test/test_message_loop.h" 18 #include "base/test/test_message_loop.h"
18 #include "base/threading/thread_task_runner_handle.h" 19 #include "base/threading/thread_task_runner_handle.h"
19 #include "build/build_config.h" 20 #include "build/build_config.h"
20 #include "media/audio/audio_device_description.h" 21 #include "media/audio/audio_device_description.h"
21 #include "media/audio/audio_device_info_accessor_for_tests.h" 22 #include "media/audio/audio_device_info_accessor_for_tests.h"
22 #include "media/audio/audio_device_name.h" 23 #include "media/audio/audio_device_name.h"
23 #include "media/audio/audio_output_proxy.h" 24 #include "media/audio/audio_output_proxy.h"
24 #include "media/audio/audio_unittest_util.h" 25 #include "media/audio/audio_unittest_util.h"
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 675
675 base::FilePath file_path(FILE_PATH_LITERAL("path")); 676 base::FilePath file_path(FILE_PATH_LITERAL("path"));
676 EXPECT_CALL(*mock_debug_recording_manager, EnableDebugRecording(file_path)); 677 EXPECT_CALL(*mock_debug_recording_manager, EnableDebugRecording(file_path));
677 audio_manager_->EnableOutputDebugRecording(file_path); 678 audio_manager_->EnableOutputDebugRecording(file_path);
678 679
679 EXPECT_CALL(*mock_debug_recording_manager, DisableDebugRecording()); 680 EXPECT_CALL(*mock_debug_recording_manager, DisableDebugRecording());
680 audio_manager_->DisableOutputDebugRecording(); 681 audio_manager_->DisableOutputDebugRecording();
681 } 682 }
682 683
683 } // namespace media 684 } // namespace media
OLDNEW
« no previous file with comments | « media/audio/audio_manager_base.h ('k') | media/audio/mock_audio_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698