| OLD | NEW |
| 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 CHROME_BROWSER_SPEECH_CHROME_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_SPEECH_CHROME_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_SPEECH_CHROME_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_ | 6 #define CHROME_BROWSER_SPEECH_CHROME_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
| 9 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 10 #include "content/public/browser/speech_recognition_event_listener.h" | 11 #include "content/public/browser/speech_recognition_event_listener.h" |
| 11 #include "content/public/browser/speech_recognition_manager_delegate.h" | 12 #include "content/public/browser/speech_recognition_manager_delegate.h" |
| 12 #include "content/public/browser/speech_recognition_session_config.h" | 13 #include "content/public/browser/speech_recognition_session_config.h" |
| 13 | 14 |
| 14 namespace speech { | 15 namespace speech { |
| 15 | 16 |
| 16 // This is Chrome's implementation of the SpeechRecognitionManagerDelegate | 17 // This is Chrome's implementation of the SpeechRecognitionManagerDelegate |
| 17 // interface. | 18 // interface. |
| 18 class ChromeSpeechRecognitionManagerDelegate | 19 class ChromeSpeechRecognitionManagerDelegate |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 | 67 |
| 67 scoped_refptr<OptionalRequestInfo> optional_request_info_; | 68 scoped_refptr<OptionalRequestInfo> optional_request_info_; |
| 68 scoped_refptr<TabWatcher> tab_watcher_; | 69 scoped_refptr<TabWatcher> tab_watcher_; |
| 69 | 70 |
| 70 DISALLOW_COPY_AND_ASSIGN(ChromeSpeechRecognitionManagerDelegate); | 71 DISALLOW_COPY_AND_ASSIGN(ChromeSpeechRecognitionManagerDelegate); |
| 71 }; | 72 }; |
| 72 | 73 |
| 73 } // namespace speech | 74 } // namespace speech |
| 74 | 75 |
| 75 #endif // CHROME_BROWSER_SPEECH_CHROME_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_ | 76 #endif // CHROME_BROWSER_SPEECH_CHROME_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_ |
| OLD | NEW |