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

Side by Side Diff: media/audio/mock_audio_manager.h

Issue 2929823002: Making AudioManagerBase::ShutdownOnAudioThread() platform-agnostic (Closed)
Patch Set: Created 3 years, 6 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 #ifndef MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ 5 #ifndef MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_
6 #define MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ 6 #define MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/sequenced_task_runner_helpers.h" 10 #include "base/sequenced_task_runner_helpers.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 void SetHasInputDevices(bool has_input_devices); 61 void SetHasInputDevices(bool has_input_devices);
62 void SetHasOutputDevices(bool has_output_devices); 62 void SetHasOutputDevices(bool has_output_devices);
63 void SetInputDeviceDescriptionsCallback( 63 void SetInputDeviceDescriptionsCallback(
64 GetDeviceDescriptionsCallback callback); 64 GetDeviceDescriptionsCallback callback);
65 void SetOutputDeviceDescriptionsCallback( 65 void SetOutputDeviceDescriptionsCallback(
66 GetDeviceDescriptionsCallback callback); 66 GetDeviceDescriptionsCallback callback);
67 void SetAssociatedOutputDeviceIDCallback( 67 void SetAssociatedOutputDeviceIDCallback(
68 GetAssociatedOutputDeviceIDCallback callback); 68 GetAssociatedOutputDeviceIDCallback callback);
69 69
70 protected: 70 protected:
71 void ShutdownOnAudioThread() override; 71 void ShutdownOnAudioThread(bool) override;
72 72
73 bool HasAudioOutputDevices() override; 73 bool HasAudioOutputDevices() override;
74 74
75 bool HasAudioInputDevices() override; 75 bool HasAudioInputDevices() override;
76 76
77 base::string16 GetAudioInputDeviceModel() override; 77 base::string16 GetAudioInputDeviceModel() override;
78 78
79 void ShowAudioInputSettings() override; 79 void ShowAudioInputSettings() override;
80 80
81 void GetAudioInputDeviceDescriptions( 81 void GetAudioInputDeviceDescriptions(
(...skipping 19 matching lines...) Expand all
101 GetDeviceDescriptionsCallback get_input_device_descriptions_cb_; 101 GetDeviceDescriptionsCallback get_input_device_descriptions_cb_;
102 GetDeviceDescriptionsCallback get_output_device_descriptions_cb_; 102 GetDeviceDescriptionsCallback get_output_device_descriptions_cb_;
103 GetAssociatedOutputDeviceIDCallback get_associated_output_device_id_cb_; 103 GetAssociatedOutputDeviceIDCallback get_associated_output_device_id_cb_;
104 104
105 DISALLOW_COPY_AND_ASSIGN(MockAudioManager); 105 DISALLOW_COPY_AND_ASSIGN(MockAudioManager);
106 }; 106 };
107 107
108 } // namespace media. 108 } // namespace media.
109 109
110 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ 110 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698