Home
last modified time | relevance | path

Searched refs:valid_schemes (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/extensions/common/
Duser_script.cc51 int valid_schemes = kValidUserScriptSchemes; in ValidUserScriptSchemes() local
54 valid_schemes &= ~URLPattern::SCHEME_CHROMEUI; in ValidUserScriptSchemes()
56 return valid_schemes; in ValidUserScriptSchemes()
159 pickle->WriteInt(pattern->valid_schemes()); in PickleURLPatternSet()
215 int valid_schemes; in UnpickleURLPatternSet() local
216 CHECK(pickle.ReadInt(iter, &valid_schemes)); in UnpickleURLPatternSet()
226 pattern.SetValidSchemes(valid_schemes); in UnpickleURLPatternSet()
Durl_pattern.h85 explicit URLPattern(int valid_schemes);
89 URLPattern(int valid_schemes, const std::string& pattern);
105 int valid_schemes() const { return valid_schemes_; } in valid_schemes() function
106 void SetValidSchemes(int valid_schemes);
Durl_pattern_set.cc186 int valid_schemes, in Populate() argument
191 URLPattern pattern(valid_schemes); in Populate()
203 pattern.valid_schemes() & ~URLPattern::SCHEME_FILE); in Populate()
211 int valid_schemes, in Populate() argument
221 return Populate(patterns, valid_schemes, allow_file_access, error); in Populate()
Durl_pattern.cc129 URLPattern::URLPattern(int valid_schemes) in URLPattern() argument
130 : valid_schemes_(valid_schemes), in URLPattern()
135 URLPattern::URLPattern(int valid_schemes, const std::string& pattern) in URLPattern() argument
138 : valid_schemes_(valid_schemes), in URLPattern()
265 void URLPattern::SetValidSchemes(int valid_schemes) { in SetValidSchemes() argument
267 valid_schemes_ = valid_schemes; in SetValidSchemes()
Durl_pattern_set.h89 int valid_schemes,
94 int valid_schemes,
Dextension_messages.cc85 WriteParam(m, p.valid_schemes()); in Write()
91 int valid_schemes; in Read() local
93 if (!ReadParam(m, iter, &valid_schemes) || in Read()
104 p->SetValidSchemes(valid_schemes); in Read()
Durl_pattern_unittest.cc261 EXPECT_EQ(pattern.valid_schemes(), pattern2.valid_schemes()); in TEST()
/external/chromium_org/chrome/browser/extensions/
Dwebstore_inline_installer.cc178 int valid_schemes = URLPattern::SCHEME_HTTP | URLPattern::SCHEME_HTTPS; in IsRequestorURLInVerifiedSite() local
185 valid_schemes = URLPattern::SCHEME_HTTP; in IsRequestorURLInVerifiedSite()
187 valid_schemes = URLPattern::SCHEME_HTTPS; in IsRequestorURLInVerifiedSite()
202 URLPattern verified_site_pattern(valid_schemes); in IsRequestorURLInVerifiedSite()
/external/chromium_org/extensions/common/manifest_handlers/
Dpermissions_parser.cc196 int valid_schemes = pattern.valid_schemes(); in ParseHelper() local
201 valid_schemes &= ~URLPattern::SCHEME_FILE; in ParseHelper()
210 valid_schemes &= ~URLPattern::SCHEME_CHROMEUI; in ParseHelper()
212 pattern.SetValidSchemes(valid_schemes); in ParseHelper()
/external/chromium_org/chrome/common/extensions/manifest_handlers/
Dcontent_scripts_handler.cc176 pattern.valid_schemes() & ~URLPattern::SCHEME_CHROMEUI); in LoadUserScriptFromDictionary()
184 pattern.valid_schemes() & ~URLPattern::SCHEME_FILE); in LoadUserScriptFromDictionary()
212 int valid_schemes = UserScript::ValidUserScriptSchemes( in LoadUserScriptFromDictionary() local
214 URLPattern pattern(valid_schemes); in LoadUserScriptFromDictionary()
/external/chromium_org/extensions/browser/
Dextension_prefs.h610 int valid_schemes);
Dextension_prefs.cc543 int valid_schemes) { in ReadPrefAsURLPatternSet() argument
549 return result->Populate(*value, valid_schemes, allow_file_access, NULL); in ReadPrefAsURLPatternSet()