Lines Matching refs:scheme
47 // the scheme given in |after_slashes|. This will initialize the host, path,
113 // Handles cases where there is a scheme, but also when handed the first
134 // Find the scheme, if any.
140 // "/c:/foo". This is when there is no scheme, so we can allow pages to do
146 // Windows path, don't try to extract the scheme (for example, "c:\foo").
147 parsed->scheme.reset();
150 // Windows UNC path: don't try to extract the scheme, but keep the slashes.
151 parsed->scheme.reset();
158 // colon as the scheme. So handle /foo.c:5 as a file but foo.c:5 as
159 // the foo.c: scheme.
161 ExtractScheme(&spec[begin], spec_len - begin, &parsed->scheme)) {
163 parsed->scheme.begin += begin;
164 after_scheme = parsed->scheme.end() + 1;
166 // No scheme found, remember that.
167 parsed->scheme.reset();
173 // or that are just the scheme (for example "file:").
185 // scheme at all. This test will be duplicated in that case, but will
186 // additionally handle all cases with a real scheme such as "file:///C:/".
203 // Easy and common case, the full path immediately follows the scheme