Home | History | Annotate | Download | only in common

Lines Matching defs:patterns

20 URLPatternSet Patterns(const std::string& pattern) {
26 URLPatternSet Patterns(const std::string& pattern1,
201 // Note that this checks if individual patterns contain other patterns, not
225 std::vector<std::string> patterns;
226 patterns.push_back("http://www.google.com/*");
227 patterns.push_back("http://www.yahoo.com/*");
229 for (size_t i = 0; i < patterns.size(); ++i)
230 AddPattern(&set1, patterns[i]);
239 set2.Populate(patterns, URLPattern::SCHEME_ALL, allow_file_access, &error);
268 test.push_back(Patterns(google_a));
273 URLPatternSet expected = Patterns(google_a);
281 test.push_back(Patterns(google_a, google_b));
282 test.push_back(Patterns(google_b, google_c));
297 test.push_back(Patterns(google_a, google_b));
298 test.push_back(Patterns(google_b, google_c));
299 test.push_back(Patterns(yahoo_a, yahoo_b));
316 test.push_back(Patterns(google_a));
317 test.push_back(Patterns(google_b));
318 test.push_back(Patterns(google_c));
319 test.push_back(Patterns(yahoo_a));
320 test.push_back(Patterns(yahoo_b));
321 test.push_back(Patterns(yahoo_c));
322 test.push_back(Patterns(reddit_a));
341 test.push_back(Patterns(google_a));
342 test.push_back(Patterns(google_b));
343 test.push_back(Patterns(google_c));
344 test.push_back(Patterns(yahoo_a));
345 test.push_back(Patterns(yahoo_b));
346 test.push_back(Patterns(yahoo_c));
347 test.push_back(Patterns(reddit_a));
348 test.push_back(Patterns(reddit_b));
369 test.push_back(Patterns(google_a));
370 test.push_back(Patterns(google_b));
371 test.push_back(Patterns(google_c));
372 test.push_back(Patterns(yahoo_a));
373 test.push_back(Patterns(yahoo_b));
374 test.push_back(Patterns(yahoo_c));
375 test.push_back(Patterns(reddit_a));
376 test.push_back(Patterns(reddit_b));
377 test.push_back(Patterns(reddit_c));