// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef EXTENSIONS_COMMON_EVENT_MATCHER_H_ #define EXTENSIONS_COMMON_EVENT_MATCHER_H_ #include <memory> #include "base/values.h" #include "extensions/common/mojom/event_dispatcher.mojom-forward.h" namespace extensions { extern const char kEventFilterServiceTypeKey[]; // Matches EventFilteringInfos against a set of criteria. This is intended to // be used by EventFilter which performs efficient URL matching across // potentially many EventMatchers itself. This is why this class only exposes // MatchNonURLCriteria() - URL matching is handled by EventFilter. class EventMatcher { … }; } // namespace extensions #endif // EXTENSIONS_COMMON_EVENT_MATCHER_H_