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 EXTENSIONS_COMMON_EVENT_MATCHER_H_ | 5 #ifndef EXTENSIONS_COMMON_EVENT_MATCHER_H_ |
6 #define EXTENSIONS_COMMON_EVENT_MATCHER_H_ | 6 #define EXTENSIONS_COMMON_EVENT_MATCHER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "base/values.h" | 10 #include "base/values.h" |
10 | 11 |
11 namespace extensions { | 12 namespace extensions { |
12 | 13 |
13 class EventFilteringInfo; | 14 class EventFilteringInfo; |
14 | 15 |
15 extern const char kEventFilterServiceTypeKey[]; | 16 extern const char kEventFilterServiceTypeKey[]; |
16 | 17 |
17 // Matches EventFilteringInfos against a set of criteria. This is intended to | 18 // Matches EventFilteringInfos against a set of criteria. This is intended to |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 scoped_ptr<base::DictionaryValue> filter_; | 58 scoped_ptr<base::DictionaryValue> filter_; |
58 | 59 |
59 int routing_id_; | 60 int routing_id_; |
60 | 61 |
61 DISALLOW_COPY_AND_ASSIGN(EventMatcher); | 62 DISALLOW_COPY_AND_ASSIGN(EventMatcher); |
62 }; | 63 }; |
63 | 64 |
64 } // namespace extensions | 65 } // namespace extensions |
65 | 66 |
66 #endif // EXTENSIONS_COMMON_EVENT_MATCHER_H_ | 67 #endif // EXTENSIONS_COMMON_EVENT_MATCHER_H_ |
OLD | NEW |