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 EXTENSIONS_BROWSER_EVENT_LISTENER_MAP_H_ | 5 #ifndef EXTENSIONS_BROWSER_EVENT_LISTENER_MAP_H_ |
6 #define EXTENSIONS_BROWSER_EVENT_LISTENER_MAP_H_ | 6 #define EXTENSIONS_BROWSER_EVENT_LISTENER_MAP_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
| 13 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
14 #include "extensions/common/event_filter.h" | 15 #include "extensions/common/event_filter.h" |
15 #include "url/gurl.h" | 16 #include "url/gurl.h" |
16 | 17 |
17 namespace base { | 18 namespace base { |
18 class DictionaryValue; | 19 class DictionaryValue; |
19 } | 20 } |
20 | 21 |
21 namespace content { | 22 namespace content { |
22 class BrowserContext; | 23 class BrowserContext; |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 std::map<EventFilter::MatcherID, EventListener*> listeners_by_matcher_id_; | 190 std::map<EventFilter::MatcherID, EventListener*> listeners_by_matcher_id_; |
190 | 191 |
191 EventFilter event_filter_; | 192 EventFilter event_filter_; |
192 | 193 |
193 DISALLOW_COPY_AND_ASSIGN(EventListenerMap); | 194 DISALLOW_COPY_AND_ASSIGN(EventListenerMap); |
194 }; | 195 }; |
195 | 196 |
196 } // namespace extensions | 197 } // namespace extensions |
197 | 198 |
198 #endif // EXTENSIONS_BROWSER_EVENT_LISTENER_MAP_H_ | 199 #endif // EXTENSIONS_BROWSER_EVENT_LISTENER_MAP_H_ |
OLD | NEW |