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

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

Issue 2537513006: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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) 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_SPEECH_RECOGNITION_ENGINE_H_ 5 #ifndef CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_ENGINE_H_
6 #define CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_ENGINE_H_ 6 #define CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_ENGINE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 12 matching lines...) Expand all
23 #include "net/url_request/url_fetcher_delegate.h" 23 #include "net/url_request/url_fetcher_delegate.h"
24 24
25 namespace net { 25 namespace net {
26 class URLRequestContextGetter; 26 class URLRequestContextGetter;
27 } 27 }
28 28
29 namespace content { 29 namespace content {
30 30
31 class AudioChunk; 31 class AudioChunk;
32 struct SpeechRecognitionError; 32 struct SpeechRecognitionError;
33 struct SpeechRecognitionResult;
34 33
35 // A speech recognition engine supporting continuous recognition by means of 34 // A speech recognition engine supporting continuous recognition by means of
36 // interaction with the Google streaming speech recognition webservice. 35 // interaction with the Google streaming speech recognition webservice.
37 // 36 //
38 // This class establishes two HTTPS connections with the webservice for each 37 // This class establishes two HTTPS connections with the webservice for each
39 // session, herein called "upstream" and "downstream". Audio chunks are sent on 38 // session, herein called "upstream" and "downstream". Audio chunks are sent on
40 // the upstream by means of a chunked HTTP POST upload. Recognition results are 39 // the upstream by means of a chunked HTTP POST upload. Recognition results are
41 // retrieved in a full-duplex fashion (i.e. while pushing audio on the upstream) 40 // retrieved in a full-duplex fashion (i.e. while pushing audio on the upstream)
42 // on the downstream by means of a chunked HTTP GET request. Pairing between the 41 // on the downstream by means of a chunked HTTP GET request. Pairing between the
43 // two stream is handled through a randomly generated key, unique for each 42 // two stream is handled through a randomly generated key, unique for each
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 bool is_dispatching_event_; 215 bool is_dispatching_event_;
217 bool use_framed_post_data_; 216 bool use_framed_post_data_;
218 FSMState state_; 217 FSMState state_;
219 218
220 DISALLOW_COPY_AND_ASSIGN(SpeechRecognitionEngine); 219 DISALLOW_COPY_AND_ASSIGN(SpeechRecognitionEngine);
221 }; 220 };
222 221
223 } // namespace content 222 } // namespace content
224 223
225 #endif // CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_ENGINE_H_ 224 #endif // CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_ENGINE_H_
OLDNEW
« no previous file with comments | « content/browser/speech/speech_recognition_dispatcher_host.h ('k') | content/browser/web_contents/web_contents_view_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698