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

Side by Side Diff: content/browser/speech/speech_input_manager.cc

Issue 9371025: Move resource_context.h to content/public/browser. Remove the workaround in its destructor since ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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 | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « content/browser/speech/speech_input_dispatcher_host.cc ('k') | content/browser/worker_host/worker_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698