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

Side by Side Diff: content/browser/speech/speech_recognition_manager_impl.h

Issue 2656613002: Removing unused SpeechRecognitionManager::GetAudioInputDeviceModel() (Closed)
Patch Set: Created 3 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 | « no previous file | content/browser/speech/speech_recognition_manager_impl.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 CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_MANAGER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_MANAGER_IMPL_H_
6 #define CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_MANAGER_IMPL_H_ 6 #define CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_MANAGER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 int render_view_id) override; 66 int render_view_id) override;
67 void StopAudioCaptureForSession(int session_id) override; 67 void StopAudioCaptureForSession(int session_id) override;
68 const SpeechRecognitionSessionConfig& GetSessionConfig( 68 const SpeechRecognitionSessionConfig& GetSessionConfig(
69 int session_id) const override; 69 int session_id) const override;
70 SpeechRecognitionSessionContext GetSessionContext( 70 SpeechRecognitionSessionContext GetSessionContext(
71 int session_id) const override; 71 int session_id) const override;
72 int GetSession(int render_process_id, 72 int GetSession(int render_process_id,
73 int render_view_id, 73 int render_view_id,
74 int request_id) const override; 74 int request_id) const override;
75 bool HasAudioInputDevices() override; 75 bool HasAudioInputDevices() override;
76 base::string16 GetAudioInputDeviceModel() override;
77 void ShowAudioInputSettings() override; 76 void ShowAudioInputSettings() override;
78 77
79 // SpeechRecognitionEventListener methods. 78 // SpeechRecognitionEventListener methods.
80 void OnRecognitionStart(int session_id) override; 79 void OnRecognitionStart(int session_id) override;
81 void OnAudioStart(int session_id) override; 80 void OnAudioStart(int session_id) override;
82 void OnEnvironmentEstimationComplete(int session_id) override; 81 void OnEnvironmentEstimationComplete(int session_id) override;
83 void OnSoundStart(int session_id) override; 82 void OnSoundStart(int session_id) override;
84 void OnSoundEnd(int session_id) override; 83 void OnSoundEnd(int session_id) override;
85 void OnAudioEnd(int session_id) override; 84 void OnAudioEnd(int session_id) override;
86 void OnRecognitionEnd(int session_id) override; 85 void OnRecognitionEnd(int session_id) override;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 184
186 // Used for posting asynchronous tasks (on the IO thread) without worrying 185 // Used for posting asynchronous tasks (on the IO thread) without worrying
187 // about this class being destroyed in the meanwhile (due to browser shutdown) 186 // about this class being destroyed in the meanwhile (due to browser shutdown)
188 // since tasks pending on a destroyed WeakPtr are automatically discarded. 187 // since tasks pending on a destroyed WeakPtr are automatically discarded.
189 base::WeakPtrFactory<SpeechRecognitionManagerImpl> weak_factory_; 188 base::WeakPtrFactory<SpeechRecognitionManagerImpl> weak_factory_;
190 }; 189 };
191 190
192 } // namespace content 191 } // namespace content
193 192
194 #endif // CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_MANAGER_IMPL_H_ 193 #endif // CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/speech/speech_recognition_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698