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

Side by Side Diff: content/browser/speech/speech_recognition_manager_impl.h

Issue 11339014: Move content\browser\renderer_host\media to content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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 #ifndef CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_MANAGER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_MANAGER_IMPL_H_
6 #define CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_MANAGER_IMPL_H_ 6 #define CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_MANAGER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "content/browser/renderer_host/media/media_stream_requester.h" 15 #include "content/browser/renderer_host/media/media_stream_requester.h"
16 #include "content/public/browser/speech_recognition_event_listener.h" 16 #include "content/public/browser/speech_recognition_event_listener.h"
17 #include "content/public/browser/speech_recognition_manager.h" 17 #include "content/public/browser/speech_recognition_manager.h"
18 #include "content/public/browser/speech_recognition_session_config.h" 18 #include "content/public/browser/speech_recognition_session_config.h"
19 #include "content/public/browser/speech_recognition_session_context.h" 19 #include "content/public/browser/speech_recognition_session_context.h"
20 #include "content/public/common/speech_recognition_error.h" 20 #include "content/public/common/speech_recognition_error.h"
21 21
22 namespace media_stream {
23 class MediaStreamManager;
24 }
25
26 namespace content { 22 namespace content {
27
28 class BrowserMainLoop; 23 class BrowserMainLoop;
29 class SpeechRecognitionManagerDelegate; 24 class SpeechRecognitionManagerDelegate;
30 class SpeechRecognizer; 25 class SpeechRecognizer;
31 26
32 // This is the manager for speech recognition. It is a single instance in 27 // This is the manager for speech recognition. It is a single instance in
33 // the browser process and can serve several requests. Each recognition request 28 // the browser process and can serve several requests. Each recognition request
34 // corresponds to a session, initiated via |CreateSession|. 29 // corresponds to a session, initiated via |CreateSession|.
35 // 30 //
36 // In any moment, the manager has a single session known as the primary session, 31 // In any moment, the manager has a single session known as the primary session,
37 // |primary_session_id_|. 32 // |primary_session_id_|.
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 169
175 #if !defined(OS_IOS) 170 #if !defined(OS_IOS)
176 class PermissionRequest; 171 class PermissionRequest;
177 scoped_ptr<PermissionRequest> permission_request_; 172 scoped_ptr<PermissionRequest> permission_request_;
178 #endif // !defined(OS_IOS) 173 #endif // !defined(OS_IOS)
179 }; 174 };
180 175
181 } // namespace content 176 } // namespace content
182 177
183 #endif // CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_MANAGER_IMPL_H_ 178 #endif // CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698