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 #ifndef CONTENT_BROWSER_SPEECH_SPEECH_RECOGNIZER_H_ | 5 #ifndef CONTENT_BROWSER_SPEECH_SPEECH_RECOGNIZER_H_ |
6 #define CONTENT_BROWSER_SPEECH_SPEECH_RECOGNIZER_H_ | 6 #define CONTENT_BROWSER_SPEECH_SPEECH_RECOGNIZER_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "content/common/content_export.h" |
9 | 10 |
10 namespace content { | 11 namespace content { |
11 | 12 |
12 class SpeechRecognitionEventListener; | 13 class SpeechRecognitionEventListener; |
13 | 14 |
14 // Handles speech recognition for a session (identified by |session_id|). | 15 // Handles speech recognition for a session (identified by |session_id|). |
15 class CONTENT_EXPORT SpeechRecognizer | 16 class CONTENT_EXPORT SpeechRecognizer |
16 : public base::RefCountedThreadSafe<SpeechRecognizer> { | 17 : public base::RefCountedThreadSafe<SpeechRecognizer> { |
17 public: | 18 public: |
18 | 19 |
(...skipping 13 matching lines...) Expand all Loading... |
32 | 33 |
33 SpeechRecognitionEventListener* listener_; | 34 SpeechRecognitionEventListener* listener_; |
34 int session_id_; | 35 int session_id_; |
35 | 36 |
36 DISALLOW_COPY_AND_ASSIGN(SpeechRecognizer); | 37 DISALLOW_COPY_AND_ASSIGN(SpeechRecognizer); |
37 }; | 38 }; |
38 | 39 |
39 } // namespace content | 40 } // namespace content |
40 | 41 |
41 #endif // CONTENT_BROWSER_SPEECH_SPEECH_RECOGNIZER_H_ | 42 #endif // CONTENT_BROWSER_SPEECH_SPEECH_RECOGNIZER_H_ |
OLD | NEW |