| Index: content/browser/speech/speech_recognition_engine.h
|
| diff --git a/content/browser/speech/speech_recognition_engine.h b/content/browser/speech/speech_recognition_engine.h
|
| index e7a2535f3cfa1eb699ebf8a682bfa5e146dd038c..9792d3aaa6b5f9a597f39b1d6dbc2866e0af5858 100644
|
| --- a/content/browser/speech/speech_recognition_engine.h
|
| +++ b/content/browser/speech/speech_recognition_engine.h
|
| @@ -12,7 +12,7 @@
|
|
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| -#include "base/threading/non_thread_safe.h"
|
| +#include "base/sequence_checker.h"
|
| #include "content/browser/speech/audio_encoder.h"
|
| #include "content/browser/speech/chunked_byte_buffer.h"
|
| #include "content/common/content_export.h"
|
| @@ -57,9 +57,7 @@ struct SpeechRecognitionError;
|
| // EndRecognition. If a recognition was started, the caller can free the
|
| // SpeechRecognitionEngine only after calling EndRecognition.
|
|
|
| -class CONTENT_EXPORT SpeechRecognitionEngine
|
| - : public net::URLFetcherDelegate,
|
| - public NON_EXPORTED_BASE(base::NonThreadSafe) {
|
| +class CONTENT_EXPORT SpeechRecognitionEngine : public net::URLFetcherDelegate {
|
| public:
|
| class Delegate {
|
| public:
|
| @@ -216,6 +214,8 @@ class CONTENT_EXPORT SpeechRecognitionEngine
|
| bool use_framed_post_data_;
|
| FSMState state_;
|
|
|
| + SEQUENCE_CHECKER(sequence_checker_);
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(SpeechRecognitionEngine);
|
| };
|
|
|
|
|