OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_TEST_SPEECH_MOCK_GOOGLE_STREAMING_SERVER_H_ | 5 #ifndef CONTENT_TEST_MOCK_GOOGLE_STREAMING_SERVER_H_ |
6 #define CONTENT_TEST_SPEECH_MOCK_GOOGLE_STREAMING_SERVER_H_ | 6 #define CONTENT_TEST_MOCK_GOOGLE_STREAMING_SERVER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "content/public/common/speech_recognition_result.h" | 9 #include "content/public/common/speech_recognition_result.h" |
10 #include "net/url_request/test_url_fetcher_factory.h" | 10 #include "net/url_request/test_url_fetcher_factory.h" |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 struct SpeechRecognitionResult; | 14 struct SpeechRecognitionResult; |
15 | 15 |
16 // Provides a mock implementation of the Google remote streaming speech | 16 // Provides a mock implementation of the Google remote streaming speech |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
58 // Request arguments extracted by the HTTP query string. | 58 // Request arguments extracted by the HTTP query string. |
59 std::string request_language; | 59 std::string request_language; |
60 std::string request_grammar; | 60 std::string request_grammar; |
61 | 61 |
62 DISALLOW_COPY_AND_ASSIGN(MockGoogleStreamingServer); | 62 DISALLOW_COPY_AND_ASSIGN(MockGoogleStreamingServer); |
63 }; | 63 }; |
64 | 64 |
65 } // namespace content | 65 } // namespace content |
66 | 66 |
67 #endif // CONTENT_TEST_SPEECH_MOCK_GOOGLE_STREAMING_SERVER_H_ | 67 #endif // CONTENT_TEST_MOCK_GOOGLE_STREAMING_SERVER_H_ |
OLD | NEW |