OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_TTS_CONTROLLER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_SPEECH_TTS_CONTROLLER_IMPL_H_ |
6 #define CHROME_BROWSER_SPEECH_TTS_CONTROLLER_IMPL_H_ | 6 #define CHROME_BROWSER_SPEECH_TTS_CONTROLLER_IMPL_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
| 13 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/singleton.h" | 15 #include "base/memory/singleton.h" |
15 #include "chrome/browser/speech/tts_controller.h" | 16 #include "chrome/browser/speech/tts_controller.h" |
16 #include "url/gurl.h" | 17 #include "url/gurl.h" |
17 | 18 |
18 namespace content { | 19 namespace content { |
19 class BrowserContext; | 20 class BrowserContext; |
20 } | 21 } |
21 | 22 |
22 // Singleton class that manages text-to-speech for the TTS and TTS engine | 23 // Singleton class that manages text-to-speech for the TTS and TTS engine |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 // dependency injection. | 94 // dependency injection. |
94 TtsPlatformImpl* platform_impl_; | 95 TtsPlatformImpl* platform_impl_; |
95 | 96 |
96 // The delegate that processes TTS requests with user-installed extensions. | 97 // The delegate that processes TTS requests with user-installed extensions. |
97 TtsEngineDelegate* tts_engine_delegate_; | 98 TtsEngineDelegate* tts_engine_delegate_; |
98 | 99 |
99 DISALLOW_COPY_AND_ASSIGN(TtsControllerImpl); | 100 DISALLOW_COPY_AND_ASSIGN(TtsControllerImpl); |
100 }; | 101 }; |
101 | 102 |
102 #endif // CHROME_BROWSER_SPEECH_TTS_CONTROLLER_IMPL_H_ | 103 #endif // CHROME_BROWSER_SPEECH_TTS_CONTROLLER_IMPL_H_ |
OLD | NEW |