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