Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Unified Diff: extensions/common/event_matcher.h

Issue 23437015: Initial chrome.mdns API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable test for WinDbg Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/common/event_filtering_info.cc ('k') | extensions/common/event_matcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/event_matcher.h
diff --git a/extensions/common/event_matcher.h b/extensions/common/event_matcher.h
index 7843fced0c3ffe59869c09d244d487c51795e2ee..bd0ce7bb628886ace2882d0107d9d77bd39e7471 100644
--- a/extensions/common/event_matcher.h
+++ b/extensions/common/event_matcher.h
@@ -12,6 +12,8 @@ namespace extensions {
class EventFilteringInfo;
+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
@@ -29,6 +31,8 @@ class EventMatcher {
int GetURLFilterCount() const;
bool GetURLFilter(int i, base::DictionaryValue** url_filter_out);
+ std::string GetServiceTypeFilter() const;
+
int HasURLFilters() const;
int GetInstanceID() const;
« no previous file with comments | « extensions/common/event_filtering_info.cc ('k') | extensions/common/event_matcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698