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

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

Issue 583833008: Set keyboard mic effect if available. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: This should be the correct setup and teardown order for tests. Created 6 years, 3 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/cras/audio_manager_cras.cc ('k') | media/audio/mock_audio_manager.cc » ('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 (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 "media/audio/audio_manager.h" 8 #include "media/audio/audio_manager.h"
9 9
10 namespace media { 10 namespace media {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 virtual AudioParameters GetOutputStreamParameters( 63 virtual AudioParameters GetOutputStreamParameters(
64 const std::string& device_id) OVERRIDE; 64 const std::string& device_id) OVERRIDE;
65 virtual AudioParameters GetInputStreamParameters( 65 virtual AudioParameters GetInputStreamParameters(
66 const std::string& device_id) OVERRIDE; 66 const std::string& device_id) OVERRIDE;
67 virtual std::string GetAssociatedOutputDeviceID( 67 virtual std::string GetAssociatedOutputDeviceID(
68 const std::string& input_device_id) OVERRIDE; 68 const std::string& input_device_id) OVERRIDE;
69 69
70 virtual scoped_ptr<AudioLog> CreateAudioLog( 70 virtual scoped_ptr<AudioLog> CreateAudioLog(
71 AudioLogFactory::AudioComponent component) OVERRIDE; 71 AudioLogFactory::AudioComponent component) OVERRIDE;
72 72
73 virtual void SetHasKeyboardMic() OVERRIDE;
74
73 protected: 75 protected:
74 virtual ~MockAudioManager(); 76 virtual ~MockAudioManager();
75 77
76 private: 78 private:
77 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; 79 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
78 80
79 DISALLOW_COPY_AND_ASSIGN(MockAudioManager); 81 DISALLOW_COPY_AND_ASSIGN(MockAudioManager);
80 }; 82 };
81 83
82 } // namespace media. 84 } // namespace media.
83 85
84 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ 86 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_
OLDNEW
« no previous file with comments | « media/audio/cras/audio_manager_cras.cc ('k') | media/audio/mock_audio_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698