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

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

Issue 2665163002: Refactor AudioInputController and split stat by stream type. (Closed)
Patch Set: Compile Created 3 years, 10 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_BROWSER_SPEECH_SPEECH_RECOGNIZER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_SPEECH_SPEECH_RECOGNIZER_IMPL_H_
6 #define CONTENT_BROWSER_SPEECH_SPEECH_RECOGNIZER_IMPL_H_ 6 #define CONTENT_BROWSER_SPEECH_SPEECH_RECOGNIZER_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string>
9 10
10 #include "base/macros.h" 11 #include "base/macros.h"
11 #include "content/browser/speech/endpointer/endpointer.h" 12 #include "content/browser/speech/endpointer/endpointer.h"
12 #include "content/browser/speech/speech_recognition_engine.h" 13 #include "content/browser/speech/speech_recognition_engine.h"
13 #include "content/browser/speech/speech_recognizer.h" 14 #include "content/browser/speech/speech_recognizer.h"
14 #include "content/public/common/speech_recognition_error.h" 15 #include "content/public/common/speech_recognition_error.h"
15 #include "content/public/common/speech_recognition_result.h" 16 #include "content/public/common/speech_recognition_result.h"
16 #include "media/audio/audio_input_controller.h" 17 #include "media/audio/audio_input_controller.h"
17 #include "media/audio/audio_logging.h" 18 #include "media/audio/audio_logging.h"
18 #include "net/url_request/url_request_context_getter.h" 19 #include "net/url_request/url_request_context_getter.h"
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 // Converts data between native input format and a WebSpeech specific 172 // Converts data between native input format and a WebSpeech specific
172 // output format. 173 // output format.
173 std::unique_ptr<SpeechRecognizerImpl::OnDataConverter> audio_converter_; 174 std::unique_ptr<SpeechRecognizerImpl::OnDataConverter> audio_converter_;
174 175
175 DISALLOW_COPY_AND_ASSIGN(SpeechRecognizerImpl); 176 DISALLOW_COPY_AND_ASSIGN(SpeechRecognizerImpl);
176 }; 177 };
177 178
178 } // namespace content 179 } // namespace content
179 180
180 #endif // CONTENT_BROWSER_SPEECH_SPEECH_RECOGNIZER_IMPL_H_ 181 #endif // CONTENT_BROWSER_SPEECH_SPEECH_RECOGNIZER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698