Home | History | Annotate | Download | only in extensions

Lines Matching defs:AddPattern

36 static void AddPattern(URLPatternSet* extent, const std::string& pattern) {
38 extent->AddPattern(URLPattern(schemes, pattern));
182 AddPattern(&ehost_perm_set1_, "http://*.google.com/*");
183 AddPattern(&ehost_perm_set1_, "http://example.com/*");
184 AddPattern(&ehost_perm_set1_, "chrome://favicon/*");
186 AddPattern(&ehost_perm_set2_, "https://*.google.com/*");
188 AddPattern(&ehost_perm_set2_, "http://*.google.com/*");
190 AddPattern(&shost_perm_set1_, "http://reddit.com/r/test/*");
191 AddPattern(&shost_perm_set2_, "http://reddit.com/r/test/*");
192 AddPattern(&shost_perm_set2_, "http://somesite.com/*");
193 AddPattern(&shost_perm_set2_, "http://example.com/*");
197 AddPattern(&ehost_permissions_, "http://*.google.com/*");
198 AddPattern(&ehost_permissions_, "http://example.com/*");
199 AddPattern(&ehost_permissions_, "chrome://favicon/*");
200 AddPattern(&ehost_permissions_, "https://*.google.com/*");
202 AddPattern(&shost_permissions_, "http://reddit.com/r/test/*");
203 AddPattern(&shost_permissions_, "http://somesite.com/*");
204 AddPattern(&shost_permissions_, "http://example.com/*");
320 AddPattern(&ehosts, "http://*.google.com/*");
321 AddPattern(&ehosts, "http://example.com/*");
322 AddPattern(&ehosts, "chrome://favicon/*");
325 AddPattern(&shosts, "https://*.google.com/*");
326 AddPattern(&shosts, "http://reddit.com/r/test/*");