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_EVENT_ROUTER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EVENT_ROUTER_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EVENT_ROUTER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EVENT_ROUTER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 #include <utility> | 11 #include <utility> |
12 | 12 |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
15 #include "base/hash_tables.h" | 15 #include "base/hash_tables.h" |
16 #include "base/memory/linked_ptr.h" | 16 #include "base/memory/linked_ptr.h" |
17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
18 #include "base/values.h" | 18 #include "base/values.h" |
19 #include "chrome/browser/extensions/event_listener_map.h" | 19 #include "chrome/browser/extensions/event_listener_map.h" |
20 #include "content/public/browser/browser_context.h" | |
21 #include "content/public/browser/notification_observer.h" | 20 #include "content/public/browser/notification_observer.h" |
22 #include "content/public/browser/notification_registrar.h" | 21 #include "content/public/browser/notification_registrar.h" |
23 #include "extensions/common/event_filtering_info.h" | 22 #include "extensions/common/event_filtering_info.h" |
24 #include "ipc/ipc_sender.h" | 23 #include "ipc/ipc_sender.h" |
25 | 24 |
26 class GURL; | 25 class GURL; |
27 class Profile; | 26 class Profile; |
28 | 27 |
29 namespace content { | 28 namespace content { |
| 29 class BrowserContext; |
30 class RenderProcessHost; | 30 class RenderProcessHost; |
31 } | 31 } |
32 | 32 |
33 namespace extensions { | 33 namespace extensions { |
34 class ActivityLog; | 34 class ActivityLog; |
35 class Extension; | 35 class Extension; |
36 class ExtensionHost; | 36 class ExtensionHost; |
37 class ExtensionPrefs; | 37 class ExtensionPrefs; |
38 | 38 |
39 struct Event; | 39 struct Event; |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 EventListenerInfo(const std::string& event_name, | 302 EventListenerInfo(const std::string& event_name, |
303 const std::string& extension_id); | 303 const std::string& extension_id); |
304 | 304 |
305 const std::string event_name; | 305 const std::string event_name; |
306 const std::string extension_id; | 306 const std::string extension_id; |
307 }; | 307 }; |
308 | 308 |
309 } // namespace extensions | 309 } // namespace extensions |
310 | 310 |
311 #endif // CHROME_BROWSER_EXTENSIONS_EVENT_ROUTER_H_ | 311 #endif // CHROME_BROWSER_EXTENSIONS_EVENT_ROUTER_H_ |
OLD | NEW |