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

Side by Side Diff: media/audio/audio_debug_recording_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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_debug_recording_manager.h" 5 #include "media/audio/audio_debug_recording_manager.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "base/single_thread_task_runner.h"
13 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
14 #include "base/test/test_message_loop.h" 15 #include "base/test/test_message_loop.h"
15 #include "media/audio/audio_debug_recording_helper.h" 16 #include "media/audio/audio_debug_recording_helper.h"
16 #include "testing/gmock/include/gmock/gmock.h" 17 #include "testing/gmock/include/gmock/gmock.h"
17 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
18 19
19 using testing::_; 20 using testing::_;
20 21
21 #if defined(OS_WIN) 22 #if defined(OS_WIN)
22 #define IntToStringType base::IntToString16 23 #define IntToStringType base::IntToString16
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 for (const auto& recorder : recorders) { 220 for (const auto& recorder : recorders) {
220 MockAudioDebugRecordingHelper* mock_recording_helper = 221 MockAudioDebugRecordingHelper* mock_recording_helper =
221 static_cast<MockAudioDebugRecordingHelper*>(recorder.get()); 222 static_cast<MockAudioDebugRecordingHelper*>(recorder.get());
222 EXPECT_CALL(*mock_recording_helper, DisableDebugRecording()); 223 EXPECT_CALL(*mock_recording_helper, DisableDebugRecording());
223 } 224 }
224 225
225 manager_.DisableDebugRecording(); 226 manager_.DisableDebugRecording();
226 } 227 }
227 228
228 } // namespace media 229 } // namespace media
OLDNEW
« no previous file with comments | « media/audio/audio_debug_recording_helper_unittest.cc ('k') | media/audio/audio_input_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698