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

Side by Side Diff: content/public/test/fake_speech_recognition_manager.h

Issue 2656613002: Removing unused SpeechRecognitionManager::GetAudioInputDeviceModel() (Closed)
Patch Set: Created 3 years, 11 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_PUBLIC_TEST_FAKE_SPEECH_RECOGNITION_MANAGER_H_ 5 #ifndef CONTENT_PUBLIC_TEST_FAKE_SPEECH_RECOGNITION_MANAGER_H_
6 #define CONTENT_PUBLIC_TEST_FAKE_SPEECH_RECOGNITION_MANAGER_H_ 6 #define CONTENT_PUBLIC_TEST_FAKE_SPEECH_RECOGNITION_MANAGER_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "content/public/browser/speech_recognition_event_listener.h" 10 #include "content/public/browser/speech_recognition_event_listener.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 // SpeechRecognitionManager methods. 49 // SpeechRecognitionManager methods.
50 int CreateSession(const SpeechRecognitionSessionConfig& config) override; 50 int CreateSession(const SpeechRecognitionSessionConfig& config) override;
51 void StartSession(int session_id) override; 51 void StartSession(int session_id) override;
52 void AbortSession(int session_id) override; 52 void AbortSession(int session_id) override;
53 void StopAudioCaptureForSession(int session_id) override; 53 void StopAudioCaptureForSession(int session_id) override;
54 void AbortAllSessionsForRenderProcess(int render_process_id) override; 54 void AbortAllSessionsForRenderProcess(int render_process_id) override;
55 void AbortAllSessionsForRenderView(int render_process_id, 55 void AbortAllSessionsForRenderView(int render_process_id,
56 int render_view_id) override; 56 int render_view_id) override;
57 bool HasAudioInputDevices() override; 57 bool HasAudioInputDevices() override;
58 base::string16 GetAudioInputDeviceModel() override;
59 void ShowAudioInputSettings() override {} 58 void ShowAudioInputSettings() override {}
60 int GetSession(int render_process_id, 59 int GetSession(int render_process_id,
61 int render_view_id, 60 int render_view_id,
62 int request_id) const override; 61 int request_id) const override;
63 const SpeechRecognitionSessionConfig& GetSessionConfig( 62 const SpeechRecognitionSessionConfig& GetSessionConfig(
64 int session_id) const override; 63 int session_id) const override;
65 SpeechRecognitionSessionContext GetSessionContext( 64 SpeechRecognitionSessionContext GetSessionContext(
66 int session_id) const override; 65 int session_id) const override;
67 66
68 // SpeechRecognitionEventListener implementation. 67 // SpeechRecognitionEventListener implementation.
(...skipping 27 matching lines...) Expand all
96 bool should_send_fake_response_; 95 bool should_send_fake_response_;
97 base::Closure recognition_started_closure_; 96 base::Closure recognition_started_closure_;
98 SpeechRecognitionManagerDelegate* delegate_; // Not owned. 97 SpeechRecognitionManagerDelegate* delegate_; // Not owned.
99 98
100 DISALLOW_COPY_AND_ASSIGN(FakeSpeechRecognitionManager); 99 DISALLOW_COPY_AND_ASSIGN(FakeSpeechRecognitionManager);
101 }; 100 };
102 101
103 } // namespace content 102 } // namespace content
104 103
105 #endif // CONTENT_PUBLIC_TEST_FAKE_SPEECH_RECOGNITION_MANAGER_H_ 104 #endif // CONTENT_PUBLIC_TEST_FAKE_SPEECH_RECOGNITION_MANAGER_H_
OLDNEW
« no previous file with comments | « content/public/browser/speech_recognition_manager.h ('k') | content/public/test/fake_speech_recognition_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698