OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_NOTIFICATIONS_NOTIFIER_STATE_TRACKER_H_ | 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFIER_STATE_TRACKER_H_ |
6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFIER_STATE_TRACKER_H_ | 6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFIER_STATE_TRACKER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/prefs/pref_member.h" | |
13 #include "components/keyed_service/core/keyed_service.h" | 12 #include "components/keyed_service/core/keyed_service.h" |
| 13 #include "components/prefs/pref_member.h" |
14 | 14 |
15 #if defined(ENABLE_EXTENSIONS) | 15 #if defined(ENABLE_EXTENSIONS) |
16 #include "base/scoped_observer.h" | 16 #include "base/scoped_observer.h" |
17 #include "extensions/browser/extension_registry.h" | 17 #include "extensions/browser/extension_registry.h" |
18 #include "extensions/browser/extension_registry_observer.h" | 18 #include "extensions/browser/extension_registry_observer.h" |
19 #endif | 19 #endif |
20 | 20 |
21 class Profile; | 21 class Profile; |
22 | 22 |
23 namespace message_center { | 23 namespace message_center { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 // An observer to listen when extension is uninstalled. | 85 // An observer to listen when extension is uninstalled. |
86 ScopedObserver<extensions::ExtensionRegistry, | 86 ScopedObserver<extensions::ExtensionRegistry, |
87 extensions::ExtensionRegistryObserver> | 87 extensions::ExtensionRegistryObserver> |
88 extension_registry_observer_; | 88 extension_registry_observer_; |
89 #endif | 89 #endif |
90 | 90 |
91 DISALLOW_COPY_AND_ASSIGN(NotifierStateTracker); | 91 DISALLOW_COPY_AND_ASSIGN(NotifierStateTracker); |
92 }; | 92 }; |
93 | 93 |
94 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFIER_STATE_TRACKER_H_ | 94 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFIER_STATE_TRACKER_H_ |
OLD | NEW |