Home | History | Annotate | Download | only in src

Lines Matching defs:SCHEME

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