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

Side by Side Diff: content/browser/speech/speech_recognition_manager_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_recognition_manager_impl.h" 5 #include "content/browser/speech/speech_recognition_manager_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
12 #include "base/thread_task_runner_handle.h" 12 #include "base/thread_task_runner_handle.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "content/browser/browser_main_loop.h" 14 #include "content/browser/browser_main_loop.h"
15 #include "content/browser/renderer_host/media/media_stream_manager.h" 15 #include "content/browser/renderer_host/media/media_stream_manager.h"
16 #include "content/browser/renderer_host/media/media_stream_ui_proxy.h" 16 #include "content/browser/renderer_host/media/media_stream_ui_proxy.h"
17 #include "content/browser/speech/google_one_shot_remote_engine.h"
18 #include "content/browser/speech/google_streaming_remote_engine.h" 17 #include "content/browser/speech/google_streaming_remote_engine.h"
19 #include "content/browser/speech/speech_recognition_engine.h" 18 #include "content/browser/speech/speech_recognition_engine.h"
20 #include "content/browser/speech/speech_recognizer_impl.h" 19 #include "content/browser/speech/speech_recognizer_impl.h"
21 #include "content/public/browser/browser_thread.h" 20 #include "content/public/browser/browser_thread.h"
22 #include "content/public/browser/content_browser_client.h" 21 #include "content/public/browser/content_browser_client.h"
23 #include "content/public/browser/resource_context.h" 22 #include "content/public/browser/resource_context.h"
24 #include "content/public/browser/speech_recognition_event_listener.h" 23 #include "content/public/browser/speech_recognition_event_listener.h"
25 #include "content/public/browser/speech_recognition_manager_delegate.h" 24 #include "content/public/browser/speech_recognition_manager_delegate.h"
26 #include "content/public/browser/speech_recognition_session_config.h" 25 #include "content/public/browser/speech_recognition_session_config.h"
27 #include "content/public/browser/speech_recognition_session_context.h" 26 #include "content/public/browser/speech_recognition_session_context.h"
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 SpeechRecognitionManagerImpl::Session::Session() 673 SpeechRecognitionManagerImpl::Session::Session()
675 : id(kSessionIDInvalid), 674 : id(kSessionIDInvalid),
676 abort_requested(false), 675 abort_requested(false),
677 listener_is_active(true) { 676 listener_is_active(true) {
678 } 677 }
679 678
680 SpeechRecognitionManagerImpl::Session::~Session() { 679 SpeechRecognitionManagerImpl::Session::~Session() {
681 } 680 }
682 681
683 } // namespace content 682 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698