Lines Matching refs:scheme
16 // <url-pattern> := <scheme>://<host><port><path> | '<all_urls>'
17 // <scheme> := '*' | 'http' | 'https' | 'file' | 'ftp' | 'chrome' |
23 // * Host is not used when the scheme is 'file'.
26 // valid scheme (as specified by valid_schemes_).
27 // * The '*' scheme pattern excludes file URLs.
40 // - http:/bar -- scheme separator not found
41 // - foo://* -- invalid scheme
45 // A collection of scheme bitmasks for use with valid_schemes.
57 // SCHEME_ALL will match every scheme, including chrome://, chrome-
82 // Returns true if the given |scheme| is considered valid for extensions.
83 static bool IsValidSchemeForExtensions(const std::string& scheme);
109 // pattern matches all hosts (the input was <scheme>://*/<whatever>).
126 // Sets the scheme for pattern matches. This can be a single '*' if the
128 // property). Returns false on failure (if the scheme is not valid).
129 bool SetScheme(const std::string& scheme);
131 // absolutely need the exact scheme. This is exposed for testing.
132 const std::string& scheme() const { return scheme_; }
134 // Returns true if the specified scheme can be used in this URL pattern, and
136 bool IsValidScheme(const std::string& scheme) const;
144 // Returns true if |test| matches our scheme.
174 // use a wildcard in the scheme component. If this URLPattern doesn't use a
175 // wildcard scheme, then the returned set will contain one element that is
197 // Returns true if any of the |schemes| items matches our scheme.
200 // Returns true if all of the |schemes| items matches our scheme.
208 // If the URLPattern contains a wildcard scheme, returns a list of
209 // equivalent literal schemes, otherwise returns the current scheme.
214 // scheme.
220 // The scheme for the pattern.
234 // everything after the scheme in the case of file:// URLs.