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_EXTENSION_API_TTS_ENGINE_EXTENSION_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_ENGINE_EXTENSION_OBSERVER_H_ |
6 #define CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_ENGINE_EXTENSION_OBSERVER_H_ | 6 #define CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_ENGINE_EXTENSION_OBSERVER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/scoped_observer.h" | 9 #include "base/scoped_observer.h" |
9 #include "components/keyed_service/core/keyed_service.h" | 10 #include "components/keyed_service/core/keyed_service.h" |
10 #include "extensions/browser/event_router.h" | 11 #include "extensions/browser/event_router.h" |
11 #include "extensions/browser/extension_registry.h" | 12 #include "extensions/browser/extension_registry.h" |
12 #include "extensions/browser/extension_registry_observer.h" | 13 #include "extensions/browser/extension_registry_observer.h" |
13 | 14 |
14 class Profile; | 15 class Profile; |
15 | 16 |
16 // Profile-keyed class that observes the extension registry to determine load of | 17 // Profile-keyed class that observes the extension registry to determine load of |
17 // extension-based tts engines. | 18 // extension-based tts engines. |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 Profile* profile_; | 52 Profile* profile_; |
52 | 53 |
53 std::set<std::string> engine_extension_ids_; | 54 std::set<std::string> engine_extension_ids_; |
54 | 55 |
55 friend class TtsEngineExtensionObserverFactory; | 56 friend class TtsEngineExtensionObserverFactory; |
56 | 57 |
57 DISALLOW_COPY_AND_ASSIGN(TtsEngineExtensionObserver); | 58 DISALLOW_COPY_AND_ASSIGN(TtsEngineExtensionObserver); |
58 }; | 59 }; |
59 | 60 |
60 #endif // CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_ENGINE_EXTENSION_OBSERVER_H_ | 61 #endif // CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_ENGINE_EXTENSION_OBSERVER_H_ |
OLD | NEW |