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

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

Issue 10703141: End-to-end browser tests for speech recognition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698