| OLD | NEW |
| 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_GOOGLE_STREAMING_REMOTE_ENGINE_H_ | 5 #ifndef CONTENT_BROWSER_SPEECH_GOOGLE_STREAMING_REMOTE_ENGINE_H_ |
| 6 #define CONTENT_BROWSER_SPEECH_GOOGLE_STREAMING_REMOTE_ENGINE_H_ | 6 #define CONTENT_BROWSER_SPEECH_GOOGLE_STREAMING_REMOTE_ENGINE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/threading/non_thread_safe.h" | 14 #include "base/threading/non_thread_safe.h" |
| 15 #include "content/browser/speech/audio_encoder.h" | 15 #include "content/browser/speech/audio_encoder.h" |
| 16 #include "content/browser/speech/chunked_byte_buffer.h" | 16 #include "content/browser/speech/chunked_byte_buffer.h" |
| 17 #include "content/browser/speech/speech_recognition_engine.h" | 17 #include "content/browser/speech/speech_recognition_engine.h" |
| 18 #include "content/common/content_export.h" | 18 #include "content/common/content_export.h" |
| 19 #include "content/public/common/speech_recognition_error.h" | 19 #include "content/public/common/speech_recognition_error.h" |
| 20 #include "googleurl/src/gurl.h" | |
| 21 #include "net/url_request/url_fetcher_delegate.h" | 20 #include "net/url_request/url_fetcher_delegate.h" |
| 22 | 21 |
| 23 namespace net { | 22 namespace net { |
| 24 class URLRequestContextGetter; | 23 class URLRequestContextGetter; |
| 25 } | 24 } |
| 26 | 25 |
| 27 namespace content { | 26 namespace content { |
| 28 | 27 |
| 29 class AudioChunk; | 28 class AudioChunk; |
| 30 struct SpeechRecognitionError; | 29 struct SpeechRecognitionError; |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 bool got_last_definitive_result_; | 151 bool got_last_definitive_result_; |
| 153 bool is_dispatching_event_; | 152 bool is_dispatching_event_; |
| 154 FSMState state_; | 153 FSMState state_; |
| 155 | 154 |
| 156 DISALLOW_COPY_AND_ASSIGN(GoogleStreamingRemoteEngine); | 155 DISALLOW_COPY_AND_ASSIGN(GoogleStreamingRemoteEngine); |
| 157 }; | 156 }; |
| 158 | 157 |
| 159 } // namespace content | 158 } // namespace content |
| 160 | 159 |
| 161 #endif // CONTENT_BROWSER_SPEECH_GOOGLE_STREAMING_REMOTE_ENGINE_H_ | 160 #endif // CONTENT_BROWSER_SPEECH_GOOGLE_STREAMING_REMOTE_ENGINE_H_ |
| OLD | NEW |