OLD | NEW |
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 "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
10 #include "base/thread_task_runner_handle.h" | 10 #include "base/thread_task_runner_handle.h" |
| 11 #include "build/build_config.h" |
11 #include "content/browser/browser_main_loop.h" | 12 #include "content/browser/browser_main_loop.h" |
12 #include "content/browser/renderer_host/media/media_stream_manager.h" | 13 #include "content/browser/renderer_host/media/media_stream_manager.h" |
13 #include "content/browser/renderer_host/media/media_stream_ui_proxy.h" | 14 #include "content/browser/renderer_host/media/media_stream_ui_proxy.h" |
14 #include "content/browser/speech/google_one_shot_remote_engine.h" | 15 #include "content/browser/speech/google_one_shot_remote_engine.h" |
15 #include "content/browser/speech/google_streaming_remote_engine.h" | 16 #include "content/browser/speech/google_streaming_remote_engine.h" |
16 #include "content/browser/speech/speech_recognition_engine.h" | 17 #include "content/browser/speech/speech_recognition_engine.h" |
17 #include "content/browser/speech/speech_recognizer_impl.h" | 18 #include "content/browser/speech/speech_recognizer_impl.h" |
18 #include "content/public/browser/browser_thread.h" | 19 #include "content/public/browser/browser_thread.h" |
19 #include "content/public/browser/content_browser_client.h" | 20 #include "content/public/browser/content_browser_client.h" |
20 #include "content/public/browser/resource_context.h" | 21 #include "content/public/browser/resource_context.h" |
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
681 SpeechRecognitionManagerImpl::Session::Session() | 682 SpeechRecognitionManagerImpl::Session::Session() |
682 : id(kSessionIDInvalid), | 683 : id(kSessionIDInvalid), |
683 abort_requested(false), | 684 abort_requested(false), |
684 listener_is_active(true) { | 685 listener_is_active(true) { |
685 } | 686 } |
686 | 687 |
687 SpeechRecognitionManagerImpl::Session::~Session() { | 688 SpeechRecognitionManagerImpl::Session::~Session() { |
688 } | 689 } |
689 | 690 |
690 } // namespace content | 691 } // namespace content |
OLD | NEW |