| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_input_manager.h" | 5 #include "content/browser/speech/speech_input_manager.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "content/browser/browser_thread.h" | |
| 9 #include "content/browser/speech/speech_input_preferences.h" | 8 #include "content/browser/speech/speech_input_preferences.h" |
| 9 #include "content/public/browser/browser_thread.h" |
| 10 #include "media/audio/audio_manager.h" | 10 #include "media/audio/audio_manager.h" |
| 11 | 11 |
| 12 namespace speech_input { | 12 namespace speech_input { |
| 13 | 13 |
| 14 SpeechInputManager::SpeechInputManager() | 14 SpeechInputManager::SpeechInputManager() |
| 15 : can_report_metrics_(false), | 15 : can_report_metrics_(false), |
| 16 recording_caller_id_(0) { | 16 recording_caller_id_(0) { |
| 17 } | 17 } |
| 18 | 18 |
| 19 SpeechInputManager::~SpeechInputManager() { | 19 SpeechInputManager::~SpeechInputManager() { |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 | 198 |
| 199 SpeechInputManager::SpeechInputRequest::SpeechInputRequest() | 199 SpeechInputManager::SpeechInputRequest::SpeechInputRequest() |
| 200 : delegate(NULL), | 200 : delegate(NULL), |
| 201 is_active(false) { | 201 is_active(false) { |
| 202 } | 202 } |
| 203 | 203 |
| 204 SpeechInputManager::SpeechInputRequest::~SpeechInputRequest() { | 204 SpeechInputManager::SpeechInputRequest::~SpeechInputRequest() { |
| 205 } | 205 } |
| 206 | 206 |
| 207 } // namespace speech_input | 207 } // namespace speech_input |
| OLD | NEW |