| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_BROWSER_SPEECH_MOCK_GOOGLE_SPEECH_RECOGNITION_SERVER_DELEGATE_H_ |
| 6 #define CONTENT_BROWSER_SPEECH_MOCK_GOOGLE_SPEECH_RECOGNITION_SERVER_DELEGATE_H_ |
| 7 #pragma once |
| 8 |
| 9 namespace speech { |
| 10 // Interface for tests aimed at intercepting events triggered by mock |
| 11 // implementations of the remote Google speech recognition webservices |
| 12 // (MockGoogleOneShotServer and MockGoogleStreamingServer). |
| 13 class MockGoogleSpeechRecognitionServerDelegate { |
| 14 public: |
| 15 virtual void OnClientConnected() = 0; |
| 16 virtual void OnClientAudioUpload() = 0; |
| 17 virtual void OnClientAudioUploadComplete() = 0; |
| 18 virtual void OnClientDisconnected() = 0; |
| 19 }; |
| 20 |
| 21 } // namespace speech |
| 22 |
| 23 #endif // CONTENT_BROWSER_SPEECH_MOCK_GOOGLE_SPEECH_RECOGNITION_SERVER_DELEGATE
_H_ |
| OLD | NEW |