Chromium Code Reviews| Index: content/browser/speech/speech_recognizer.h |
| diff --git a/content/browser/speech/speech_recognizer.h b/content/browser/speech/speech_recognizer.h |
| index bb8fd9760ee1c78658e3b9fcda344745234c572e..a7d4a744edb6d1b11cb117bbe82dc65022531431 100644 |
| --- a/content/browser/speech/speech_recognizer.h |
| +++ b/content/browser/speech/speech_recognizer.h |
| @@ -6,6 +6,7 @@ |
| #define CONTENT_BROWSER_SPEECH_SPEECH_RECOGNIZER_H_ |
| #include "base/memory/ref_counted.h" |
| +#include "content/common/content_export.h" |
| namespace content { |
| @@ -26,9 +27,12 @@ class CONTENT_EXPORT SpeechRecognizer |
| virtual bool IsCapturingAudio() const = 0; |
| protected: |
| - friend class base::RefCountedThreadSafe<SpeechRecognizer>; |
| - |
| virtual ~SpeechRecognizer() {} |
| + SpeechRecognitionEventListener* listener() const { return listener_; } |
| + int session_id() const { return session_id_; } |
| + |
| + private: |
| + friend class base::RefCountedThreadSafe<SpeechRecognizer>; |
|
Primiano Tucci (use gerrit)
2013/06/11 13:34:51
Nit: Was the move of friend classs.... under priva
janx
2013/06/12 14:47:14
Moved to protected.
|
| SpeechRecognitionEventListener* listener_; |
| int session_id_; |