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

Unified Diff: components/url_pattern_index/url_pattern_index.h

Issue 2954613002: UrlPatternIndex: Introduce ElementType and ActivationType enums to url_pattern_index schema. (Closed)
Patch Set: Address review. Created 3 years, 6 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
Index: components/url_pattern_index/url_pattern_index.h
diff --git a/components/url_pattern_index/url_pattern_index.h b/components/url_pattern_index/url_pattern_index.h
index 22e84b127ba91b2eae2d38fad8e2f6cf83016ee3..be80807b81486c428f7470a374cd90cb5ac876cc 100644
--- a/components/url_pattern_index/url_pattern_index.h
+++ b/components/url_pattern_index/url_pattern_index.h
@@ -124,6 +124,13 @@ class UrlPatternIndexMatcher {
bool disable_generic_rules) const;
private:
+ const flat::UrlRule* FindMatch(const GURL& url,
+ const url::Origin& first_party_origin,
+ flat::ElementType element_type,
+ flat::ActivationType activation_type,
+ bool is_third_party,
+ bool disable_generic_rules) const;
+
// Must outlive this instance.
const flat::UrlPatternIndex* flat_index_;
« no previous file with comments | « components/url_pattern_index/flat/url_pattern_index.fbs ('k') | components/url_pattern_index/url_pattern_index.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698