summaryrefslogtreecommitdiffstats
path: root/extensions/common/event_matcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/common/event_matcher.h')
-rw-r--r--extensions/common/event_matcher.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/extensions/common/event_matcher.h b/extensions/common/event_matcher.h
index dadb6ef..7843fce 100644
--- a/extensions/common/event_matcher.h
+++ b/extensions/common/event_matcher.h
@@ -18,7 +18,8 @@ class EventFilteringInfo;
// MatchNonURLCriteria() - URL matching is handled by EventFilter.
class EventMatcher {
public:
- explicit EventMatcher(scoped_ptr<base::DictionaryValue> filter);
+ EventMatcher(scoped_ptr<base::DictionaryValue> filter,
+ int routing_id);
~EventMatcher();
// Returns true if |event_info| satisfies this matcher's criteria, not taking
@@ -32,6 +33,8 @@ class EventMatcher {
int GetInstanceID() const;
+ int GetRoutingID() const;
+
base::DictionaryValue* value() const {
return filter_.get();
}
@@ -44,6 +47,8 @@ class EventMatcher {
// The valid filter keys are event-specific.
scoped_ptr<base::DictionaryValue> filter_;
+ int routing_id_;
+
DISALLOW_COPY_AND_ASSIGN(EventMatcher);
};