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 <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/threading/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/speech_recognition_engine.h" | 17 #include "content/browser/speech/speech_recognition_engine.h" |
18 #include "content/browser/speech/speech_recognizer_impl.h" | 18 #include "content/browser/speech/speech_recognizer_impl.h" |
19 #include "content/public/browser/browser_thread.h" | 19 #include "content/public/browser/browser_thread.h" |
20 #include "content/public/browser/content_browser_client.h" | 20 #include "content/public/browser/content_browser_client.h" |
21 #include "content/public/browser/resource_context.h" | 21 #include "content/public/browser/resource_context.h" |
22 #include "content/public/browser/speech_recognition_event_listener.h" | 22 #include "content/public/browser/speech_recognition_event_listener.h" |
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
668 SpeechRecognitionManagerImpl::Session::Session() | 668 SpeechRecognitionManagerImpl::Session::Session() |
669 : id(kSessionIDInvalid), | 669 : id(kSessionIDInvalid), |
670 abort_requested(false), | 670 abort_requested(false), |
671 listener_is_active(true) { | 671 listener_is_active(true) { |
672 } | 672 } |
673 | 673 |
674 SpeechRecognitionManagerImpl::Session::~Session() { | 674 SpeechRecognitionManagerImpl::Session::~Session() { |
675 } | 675 } |
676 | 676 |
677 } // namespace content | 677 } // namespace content |
OLD | NEW |