OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_ERROR_CONSOLE_ERROR_CONSOLE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_ERROR_CONSOLE_ERROR_CONSOLE_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_ERROR_CONSOLE_ERROR_CONSOLE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_ERROR_CONSOLE_ERROR_CONSOLE_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 | 10 |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
13 #include "base/prefs/pref_change_registrar.h" | 13 #include "base/prefs/pref_change_registrar.h" |
14 #include "base/scoped_observer.h" | 14 #include "base/scoped_observer.h" |
15 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
16 #include "content/public/browser/notification_observer.h" | 16 #include "content/public/browser/notification_observer.h" |
17 #include "content/public/browser/notification_registrar.h" | 17 #include "content/public/browser/notification_registrar.h" |
18 #include "extensions/browser/error_map.h" | 18 #include "extensions/browser/error_map.h" |
19 #include "extensions/browser/extension_error.h" | 19 #include "extensions/browser/extension_error.h" |
20 #include "extensions/browser/extension_registry.h" | 20 #include "extensions/browser/extension_registry.h" |
21 #include "extensions/browser/extension_registry_observer.h" | 21 #include "extensions/browser/extension_registry_observer.h" |
22 | 22 |
23 namespace content { | 23 namespace content { |
24 class NotificationDetails; | 24 class NotificationDetails; |
25 class NotificationSource; | 25 class NotificationSource; |
26 class RenderViewHost; | 26 class RenderViewHost; |
27 } | 27 } |
28 | 28 |
29 class ExtensionService; | |
30 class Profile; | 29 class Profile; |
31 | 30 |
32 namespace extensions { | 31 namespace extensions { |
33 class Extension; | 32 class Extension; |
34 class ExtensionPrefs; | 33 class ExtensionPrefs; |
35 | 34 |
36 // The ErrorConsole is a central object to which all extension errors are | 35 // The ErrorConsole is a central object to which all extension errors are |
37 // reported. This includes errors detected in extensions core, as well as | 36 // reported. This includes errors detected in extensions core, as well as |
38 // runtime Javascript errors. If FeatureSwitch::error_console() is enabled these | 37 // runtime Javascript errors. If FeatureSwitch::error_console() is enabled these |
39 // errors can be viewed at chrome://extensions in developer mode. | 38 // errors can be viewed at chrome://extensions in developer mode. |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 | 181 |
183 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver> | 182 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver> |
184 registry_observer_; | 183 registry_observer_; |
185 | 184 |
186 DISALLOW_COPY_AND_ASSIGN(ErrorConsole); | 185 DISALLOW_COPY_AND_ASSIGN(ErrorConsole); |
187 }; | 186 }; |
188 | 187 |
189 } // namespace extensions | 188 } // namespace extensions |
190 | 189 |
191 #endif // CHROME_BROWSER_EXTENSIONS_ERROR_CONSOLE_ERROR_CONSOLE_H_ | 190 #endif // CHROME_BROWSER_EXTENSIONS_ERROR_CONSOLE_ERROR_CONSOLE_H_ |
OLD | NEW |