| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/renderer_host/render_view_host.h" | 8 #include "content/browser/renderer_host/render_view_host.h" |
| 9 #include "content/browser/resource_context.h" | |
| 10 #include "content/browser/speech/speech_input_preferences.h" | 9 #include "content/browser/speech/speech_input_preferences.h" |
| 11 #include "content/public/browser/browser_thread.h" | 10 #include "content/public/browser/browser_thread.h" |
| 12 #include "content/public/browser/render_view_host_delegate.h" | 11 #include "content/public/browser/render_view_host_delegate.h" |
| 12 #include "content/public/browser/resource_context.h" |
| 13 #include "content/public/common/view_type.h" | 13 #include "content/public/common/view_type.h" |
| 14 #include "media/audio/audio_manager.h" | 14 #include "media/audio/audio_manager.h" |
| 15 | 15 |
| 16 using content::BrowserThread; | 16 using content::BrowserThread; |
| 17 | 17 |
| 18 namespace speech_input { | 18 namespace speech_input { |
| 19 | 19 |
| 20 struct SpeechInputManager::SpeechInputParams { | 20 struct SpeechInputManager::SpeechInputParams { |
| 21 SpeechInputParams(Delegate* delegate, | 21 SpeechInputParams(Delegate* delegate, |
| 22 int caller_id, | 22 int caller_id, |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 | 305 |
| 306 SpeechInputManager::SpeechInputRequest::SpeechInputRequest() | 306 SpeechInputManager::SpeechInputRequest::SpeechInputRequest() |
| 307 : delegate(NULL), | 307 : delegate(NULL), |
| 308 is_active(false) { | 308 is_active(false) { |
| 309 } | 309 } |
| 310 | 310 |
| 311 SpeechInputManager::SpeechInputRequest::~SpeechInputRequest() { | 311 SpeechInputManager::SpeechInputRequest::~SpeechInputRequest() { |
| 312 } | 312 } |
| 313 | 313 |
| 314 } // namespace speech_input | 314 } // namespace speech_input |
| OLD | NEW |