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

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

Issue 163343002: Reland 153623004: Remove the unified IO code on the browser (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed the cras bot Created 6 years, 10 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/mac/audio_unified_mac.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 22 matching lines...) Expand all
33 virtual void ShowAudioInputSettings() OVERRIDE; 33 virtual void ShowAudioInputSettings() OVERRIDE;
34 34
35 virtual void GetAudioInputDeviceNames( 35 virtual void GetAudioInputDeviceNames(
36 media::AudioDeviceNames* device_names) OVERRIDE; 36 media::AudioDeviceNames* device_names) OVERRIDE;
37 37
38 virtual void GetAudioOutputDeviceNames( 38 virtual void GetAudioOutputDeviceNames(
39 media::AudioDeviceNames* device_names) OVERRIDE; 39 media::AudioDeviceNames* device_names) OVERRIDE;
40 40
41 virtual media::AudioOutputStream* MakeAudioOutputStream( 41 virtual media::AudioOutputStream* MakeAudioOutputStream(
42 const media::AudioParameters& params, 42 const media::AudioParameters& params,
43 const std::string& device_id, 43 const std::string& device_id) OVERRIDE;
44 const std::string& input_device_id) OVERRIDE;
45 44
46 virtual media::AudioOutputStream* MakeAudioOutputStreamProxy( 45 virtual media::AudioOutputStream* MakeAudioOutputStreamProxy(
47 const media::AudioParameters& params, 46 const media::AudioParameters& params,
48 const std::string& device_id, 47 const std::string& device_id) OVERRIDE;
49 const std::string& input_device_id) OVERRIDE;
50 48
51 virtual media::AudioInputStream* MakeAudioInputStream( 49 virtual media::AudioInputStream* MakeAudioInputStream(
52 const media::AudioParameters& params, 50 const media::AudioParameters& params,
53 const std::string& device_id) OVERRIDE; 51 const std::string& device_id) OVERRIDE;
54 52
55 virtual scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner() OVERRIDE; 53 virtual scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner() OVERRIDE;
56 virtual scoped_refptr<base::SingleThreadTaskRunner> GetWorkerTaskRunner() 54 virtual scoped_refptr<base::SingleThreadTaskRunner> GetWorkerTaskRunner()
57 OVERRIDE; 55 OVERRIDE;
58 56
59 virtual void AddOutputDeviceChangeListener( 57 virtual void AddOutputDeviceChangeListener(
(...skipping 19 matching lines...) Expand all
79 77
80 private: 78 private:
81 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; 79 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
82 80
83 DISALLOW_COPY_AND_ASSIGN(MockAudioManager); 81 DISALLOW_COPY_AND_ASSIGN(MockAudioManager);
84 }; 82 };
85 83
86 } // namespace media. 84 } // namespace media.
87 85
88 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ 86 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_
OLDNEW
« no previous file with comments | « media/audio/mac/audio_unified_mac.cc ('k') | media/audio/mock_audio_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698