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_EXTENSIONS_EXTENSION_WARNING_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_WARNING_SERVICE_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WARNING_SERVICE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WARNING_SERVICE_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
13 #include "base/threading/non_thread_safe.h" | 13 #include "base/threading/non_thread_safe.h" |
14 #include "chrome/browser/extensions/extension_warning_set.h" | 14 #include "chrome/browser/extensions/extension_warning_set.h" |
15 #include "chrome/common/extensions/extension_set.h" | |
16 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
17 #include "content/public/browser/notification_registrar.h" | 16 #include "content/public/browser/notification_registrar.h" |
18 | 17 |
19 // TODO(battre) Remove the Extension prefix. | 18 // TODO(battre) Remove the Extension prefix. |
20 | 19 |
21 class Profile; | 20 class Profile; |
22 | 21 |
23 namespace content { | 22 namespace content { |
24 class NotificationDetails; | 23 class NotificationDetails; |
25 class NotificationSource; | 24 class NotificationSource; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 content::NotificationRegistrar registrar_; | 82 content::NotificationRegistrar registrar_; |
84 | 83 |
85 Profile* profile_; | 84 Profile* profile_; |
86 | 85 |
87 ObserverList<Observer> observer_list_; | 86 ObserverList<Observer> observer_list_; |
88 }; | 87 }; |
89 | 88 |
90 } // namespace extensions | 89 } // namespace extensions |
91 | 90 |
92 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WARNING_SERVICE_H_ | 91 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WARNING_SERVICE_H_ |
OLD | NEW |