#include "extensions/common/event_matcher.h"
#include <utility>
#include "base/functional/callback.h"
#include "extensions/common/mojom/event_dispatcher.mojom.h"
namespace {
const char kUrlFiltersKey[] = …;
const char kWindowTypesKey[] = …;
}
namespace extensions {
const char kEventFilterServiceTypeKey[] = …;
EventMatcher::EventMatcher(std::unique_ptr<base::Value::Dict> filter,
int routing_id)
: … { … }
EventMatcher::~EventMatcher() { … }
bool EventMatcher::MatchNonURLCriteria(
const mojom::EventFilteringInfo& event_info) const { … }
int EventMatcher::GetURLFilterCount() const { … }
const base::Value::Dict* EventMatcher::GetURLFilter(int i) { … }
bool EventMatcher::HasURLFilters() const { … }
std::string EventMatcher::GetServiceTypeFilter() const { … }
int EventMatcher::GetInstanceID() const { … }
int EventMatcher::GetWindowTypeCount() const { … }
bool EventMatcher::GetWindowType(int i, std::string* window_type_out) const { … }
}