Home | History | Annotate | Download | only in src

Lines Matching refs:scheme

97 //    url_parse::Component scheme;
98 // if (!url_parse::ExtractScheme(url, url_len, &scheme))
101 // if (IsStandardScheme(url, scheme)) // Not provided by this component
103 // else if (IsFileURL(url, scheme)) // Not provided by this component
111 SCHEME,
128 // contain an entry for the four-character scheme, and it doesn't know about
149 // SCHEME: 0 0
160 // Scheme without the colon: "http://foo"/ would have a scheme of "http".
161 // The length will be -1 if no scheme is specified ("foo.com"), or 0 if there
162 // is a colon but no scheme (":foo"). Note that the scheme is not guaranteed
165 Component scheme;
215 // StandardURL is for when the scheme is known to be one that has an
221 // PathURL is for when the scheme is known not to have an authority (host)
222 // section but that aren't file URLs either. The scheme is parsed, and
223 // everything after the scheme is considered as the path. This is used for
233 // MailtoURL is for mailto: urls. They are made up scheme,path,query
239 // Locates the scheme according to the URL parser's rules. This function is
240 // designed so the caller can find the scheme and call the correct Init*
241 // function according to their known scheme types.
243 // It also does not perform any validation on the scheme.
245 // This function will return true if the scheme is found and will put the
246 // scheme's range into *scheme. False means no scheme could be found. Note
247 // that a URL beginning with a colon has a scheme, but it is empty, so this
248 // function will return true but *scheme will = (0,0).
250 // The scheme is found by skipping spaces and control characters at the
252 // scheme. The character at scheme.end() will be the colon (we may enhance
254 // actual character value). The character at scheme.end()+1 will be the
259 bool ExtractScheme(const char* url, int url_len, Component* scheme);
260 bool ExtractScheme(const char16* url, int url_len, Component* scheme);