• Home
  • Raw
  • Download

Lines Matching +full:decode +full:- +full:uri +full:- +full:component

2 // Use of this source code is governed by a BSD-style license that can be
20 // Init ------------------------------------------------------------------------
39 // Schemes ---------------------------------------------------------------------
41 // Changes the behavior of SchemeHostPort / Origin to allow non-standard schemes
45 // Android WebView assumes that one URL with a non-standard scheme will be
46 // same-origin to another URL with the same non-standard scheme.
48 // Not thread-safe.
51 // Whether or not SchemeHostPort and Origin allow non-standard schemes.
58 // Adds an application-defined scheme to the internal list of "standard-format"
59 // URL schemes. A standard-format scheme adheres to what RFC 3986 calls "generic
60 // URI syntax" (https://tools.ietf.org/html/rfc3986#section-3).
73 // Adds an application-defined scheme to the internal list of schemes allowed
78 // Adds an application-defined scheme to the list of schemes that do not trigger
83 // Adds an application-defined scheme to the list of schemes that normal pages
89 // Adds an application-defined scheme to the list of schemes that cause pages
95 // Adds an application-defined scheme to the list of schemes that can be sent
100 // Adds an application-defined scheme to the list of web schemes that can be
108 // Adds an application-defined scheme to the list of schemes that can bypass the
109 // Content-Security-Policy (CSP) checks.
113 // Adds an application-defined scheme to the list of schemes that are strictly
122 // https://html.spec.whatwg.org/multipage/system-state.html#normalize-protocol-handler-parameters
138 // some platform-specific dependencies we don't otherwise have now, and is
152 Component* found_scheme);
157 Component* found_scheme);
160 Component* found_scheme) { in FindAndCompareScheme()
166 Component* found_scheme) { in FindAndCompareScheme()
172 // the list of known standard-format schemes (see AddStandardScheme).
174 bool IsStandard(const char* spec, const Component& scheme);
176 bool IsStandard(const char16_t* spec, const Component& scheme);
181 bool IsReferrerScheme(const char* spec, const Component& scheme);
185 // standard-format schemes (see AddStandardScheme).
188 const Component& scheme,
192 const Component& scheme,
195 // Hosts ----------------------------------------------------------------------
210 // cheap, as it must re-parse the host to verify.
213 // URL library wrappers --------------------------------------------------------
220 // be NULL to use UTF-8 (it will be faster in this case).
290 // String helper functions -----------------------------------------------------
293 // UTF-8 decode only. Invalid byte sequences are replaced with U+FFFD.
295 // Try UTF-8 decoding. If the input contains byte sequences invalid
296 // for UTF-8, apply byte to Unicode mapping.
313 // TODO(crbug.com/1481056): Remove this when event-level reportEvent is removed
320 // A valid percent-encoding is '%' followed by exactly two hex-digits. This
322 // anything other than two hex-digits.