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

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

Issue 16286010: Removed the IsRecordingInProcess check for speech since it is not needed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
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 28 matching lines...) Expand all
39 const std::string& input_device_id) OVERRIDE; 39 const std::string& input_device_id) OVERRIDE;
40 40
41 virtual media::AudioOutputStream* MakeAudioOutputStreamProxy( 41 virtual media::AudioOutputStream* MakeAudioOutputStreamProxy(
42 const media::AudioParameters& params, 42 const media::AudioParameters& params,
43 const std::string& input_device_id) OVERRIDE; 43 const std::string& input_device_id) OVERRIDE;
44 44
45 virtual media::AudioInputStream* MakeAudioInputStream( 45 virtual media::AudioInputStream* MakeAudioInputStream(
46 const media::AudioParameters& params, 46 const media::AudioParameters& params,
47 const std::string& device_id) OVERRIDE; 47 const std::string& device_id) OVERRIDE;
48 48
49 virtual bool IsRecordingInProcess() OVERRIDE;
50
51 virtual scoped_refptr<base::MessageLoopProxy> GetMessageLoop() OVERRIDE; 49 virtual scoped_refptr<base::MessageLoopProxy> GetMessageLoop() OVERRIDE;
52 50
53 virtual void AddOutputDeviceChangeListener( 51 virtual void AddOutputDeviceChangeListener(
54 AudioDeviceListener* listener) OVERRIDE; 52 AudioDeviceListener* listener) OVERRIDE;
55 virtual void RemoveOutputDeviceChangeListener( 53 virtual void RemoveOutputDeviceChangeListener(
56 AudioDeviceListener* listener) OVERRIDE; 54 AudioDeviceListener* listener) OVERRIDE;
57 55
58 virtual AudioParameters GetDefaultOutputStreamParameters() OVERRIDE; 56 virtual AudioParameters GetDefaultOutputStreamParameters() OVERRIDE;
59 virtual AudioParameters GetInputStreamParameters( 57 virtual AudioParameters GetInputStreamParameters(
60 const std::string& device_id) OVERRIDE; 58 const std::string& device_id) OVERRIDE;
61 59
62 private: 60 private:
63 virtual ~MockAudioManager(); 61 virtual ~MockAudioManager();
64 62
65 scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; 63 scoped_refptr<base::MessageLoopProxy> message_loop_proxy_;
66 64
67 DISALLOW_COPY_AND_ASSIGN(MockAudioManager); 65 DISALLOW_COPY_AND_ASSIGN(MockAudioManager);
68 }; 66 };
69 67
70 } // namespace media. 68 } // namespace media.
71 69
72 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ 70 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698