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

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

Issue 1886813002: Speech: remove GoogleOneShotRemoteEngine (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@drop_is_legacy_api
Patch Set: Created 4 years, 8 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 #include "content/browser/speech/speech_recognizer_impl.h" 5 #include "content/browser/speech/speech_recognizer_impl.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "content/browser/browser_main_loop.h" 13 #include "content/browser/browser_main_loop.h"
14 #include "content/browser/media/media_internals.h" 14 #include "content/browser/media/media_internals.h"
15 #include "content/browser/speech/audio_buffer.h" 15 #include "content/browser/speech/audio_buffer.h"
16 #include "content/browser/speech/google_one_shot_remote_engine.h"
17 #include "content/public/browser/speech_recognition_event_listener.h" 16 #include "content/public/browser/speech_recognition_event_listener.h"
18 #include "media/base/audio_converter.h" 17 #include "media/base/audio_converter.h"
19 18
20 #if defined(OS_WIN) 19 #if defined(OS_WIN)
21 #include "media/audio/win/core_audio_util_win.h" 20 #include "media/audio/win/core_audio_util_win.h"
22 #endif 21 #endif
23 22
24 using media::AudioBus; 23 using media::AudioBus;
25 using media::AudioConverter; 24 using media::AudioConverter;
26 using media::AudioInputController; 25 using media::AudioInputController;
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 engine_error(SPEECH_RECOGNITION_ERROR_NONE) { 835 engine_error(SPEECH_RECOGNITION_ERROR_NONE) {
837 } 836 }
838 837
839 SpeechRecognizerImpl::FSMEventArgs::FSMEventArgs(const FSMEventArgs& other) = 838 SpeechRecognizerImpl::FSMEventArgs::FSMEventArgs(const FSMEventArgs& other) =
840 default; 839 default;
841 840
842 SpeechRecognizerImpl::FSMEventArgs::~FSMEventArgs() { 841 SpeechRecognizerImpl::FSMEventArgs::~FSMEventArgs() {
843 } 842 }
844 843
845 } // namespace content 844 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698