Searched defs:scheme (Results 76 - 100 of 241) sorted by relevance

12345678910

/external/chromium_org/net/proxy/
H A Dproxy_config.cc66 const ProxyList* entry = MapUrlSchemeToProxyList(url.scheme());
71 // scheme. Default to direct.
114 // Trim whitespace off the url scheme.
117 // Add it to the per-scheme mappings (if supported scheme).
123 // is not a URL scheme. Rather this means "for everything else, send
152 return NULL; // No mapping for this scheme. Use direct.
167 const std::string& scheme) {
169 if (scheme == "http")
171 if (scheme
166 MapUrlSchemeToProxyListNoFallback( const std::string& scheme) argument
[all...]
/external/chromium_org/net/socket_stream/
H A Dsocket_stream_job.cc17 const std::string& scheme, ProtocolFactory* factory) {
19 scheme, factory);
31 if (url.scheme() == "ws" && sts &&
16 RegisterProtocolFactory( const std::string& scheme, ProtocolFactory* factory) argument
/external/chromium_org/net/spdy/
H A Dspdy_http_utils.cc121 (*headers)["scheme"] = info.url.scheme();
134 (*headers)[":scheme"] = info.url.scheme();
209 const char* scheme_header = protocol_version >= SPDY3 ? ":scheme" : "scheme";
214 std::string scheme; local
220 scheme = it->second;
228 std::string url = (scheme.empty() || host_port.empty() || path.empty())
230 : scheme
[all...]
/external/chromium_org/net/url_request/
H A Dtest_url_request_interceptor.cc48 Delegate(const std::string& scheme, argument
52 : scheme_(scheme),
64 static void Unregister(const std::string& scheme, argument
66 net::URLRequestFilter::GetInstance()->RemoveHostnameHandler(scheme,
71 // hostname and scheme of |url| must match the corresponding parameters
98 if (request->url().scheme() != scheme_ ||
141 const std::string& scheme,
145 : scheme_(scheme),
148 delegate_(new Delegate(scheme,
163 CHECK_EQ(scheme_, url.scheme());
140 TestURLRequestInterceptor( const std::string& scheme, const std::string& hostname, const scoped_refptr<base::TaskRunner>& network_task_runner, const scoped_refptr<base::TaskRunner>& worker_task_runner) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/navigatorcontentutils/
H A DNavigatorContentUtils.cpp104 static bool isSchemeWhitelisted(const String& scheme) argument
110 unsigned length = scheme.length();
112 builder.append(toASCIILower(scheme[i]));
117 static bool verifyCustomHandlerScheme(const String& scheme, ExceptionState& exceptionState) argument
119 if (!isValidProtocol(scheme)) {
120 exceptionState.throwSecurityError("The scheme '" + scheme + "' is not valid protocol");
124 if (scheme.startsWith("web+")) {
125 // The specification requires that the length of scheme is at least five characteres (including 'web+' prefix).
126 if (scheme
154 registerProtocolHandler(Navigator& navigator, const String& scheme, const String& url, const String& title, ExceptionState& exceptionState) argument
191 isProtocolHandlerRegistered(Navigator& navigator, const String& scheme, const String& url, ExceptionState& exceptionState) argument
213 unregisterProtocolHandler(Navigator& navigator, const String& scheme, const String& url, ExceptionState& exceptionState) argument
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/pkcs8/
H A Dp5_pbev2.c117 X509_ALGOR *scheme = NULL, *kalg = NULL, *ret = NULL; local
133 /* Setup the AlgorithmIdentifier for the encryption scheme */
134 scheme = pbe2->encryption;
136 scheme->algorithm = (ASN1_OBJECT*) obj;
137 if(!(scheme->parameter = ASN1_TYPE_new())) goto merr;
153 if(param_to_asn1(&ctx, scheme->parameter) < 0) {
208 /* Note 'scheme' is freed as part of pbe2 */
/external/chromium_org/ui/accessibility/extensions/highcontrast/
H A Dhighcontrast.js7 var scheme = ''; variable
40 if (html.getAttribute('hc') != mode + scheme)
41 html.setAttribute('hc', mode + scheme);
42 if (html.getAttribute('hcx') != scheme)
43 html.setAttribute('hcx', scheme);
52 html.style.webkitFilter = filterMap[scheme];
69 if (enabled != request.enabled || scheme != request.scheme) {
71 scheme = request.scheme;
[all...]
/external/chromium_org/url/third_party/mozilla/
H A Durl_parse.h73 // Component scheme;
74 // if (!ExtractScheme(url, url_len, &scheme))
77 // if (IsStandardScheme(url, scheme)) // Not provided by this component
79 // else if (IsFileURL(url, scheme)) // Not provided by this component
108 // contain an entry for the four-character scheme, and it doesn't know about
140 // Scheme without the colon: "http://foo"/ would have a scheme of "http".
141 // The length will be -1 if no scheme is specified ("foo.com"), or 0 if there
142 // is a colon but no scheme (":foo"). Note that the scheme is not guaranteed
145 Component scheme; member in struct:url::Parsed
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
H A DDES.java297 private int scheme; field in class:DES.DESPBEKeyFactory
306 int scheme,
314 this.scheme = scheme;
331 return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null);
336 param = PBE.Util.makePBEParameters(pbeSpec, scheme, digest, keySize, ivSize);
340 param = PBE.Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize);
355 return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param);
302 DESPBEKeyFactory( String algorithm, ASN1ObjectIdentifier oid, boolean forCipher, int scheme, int digest, int keySize, int ivSize) argument
/external/chromium_org/chrome/browser/chromeos/
H A Dproxy_cros_settings_parser.cc72 net::ProxyServer::Scheme scheme) {
75 uint16 default_port = net::ProxyServer::GetDefaultPortForScheme(scheme);
87 return net::ProxyServer(scheme, host_port_pair);
93 net::ProxyServer::Scheme scheme) {
97 return CreateProxyServer(host, port, scheme);
103 net::ProxyServer::Scheme scheme) {
107 return CreateProxyServer(host, port, scheme);
70 CreateProxyServer(std::string host, uint16 port, net::ProxyServer::Scheme scheme) argument
90 CreateProxyServerFromHost( const std::string& host, const UIProxyConfig::ManualProxy& proxy, net::ProxyServer::Scheme scheme) argument
100 CreateProxyServerFromPort( uint16 port, const UIProxyConfig::ManualProxy& proxy, net::ProxyServer::Scheme scheme) argument
/external/chromium_org/chrome/browser/extensions/api/cookies/
H A Dcookies_helpers.cc122 const std::string scheme = local
126 return GURL(scheme + url::kStandardSchemeSeparator + host + "/");
/external/chromium_org/chrome/browser/extensions/api/proxy/
H A Dproxy_api_helpers.cc160 net::ProxyServer::Scheme scheme = local
162 if (scheme == net::ProxyServer::SCHEME_INVALID)
163 scheme = default_scheme;
183 port = net::ProxyServer::GetDefaultPortForScheme(scheme);
185 *out = net::ProxyServer(scheme, net::HostPortPair(host, port));
201 // whether a setting was found for the scheme; proxy_server holds the
412 // If we add a new scheme some time, we need to also store a new dictionary
413 // representing this scheme in the code above.
432 switch (proxy.scheme()) {
/external/chromium_org/chrome/browser/policy/
H A Durl_blacklist_manager_unittest.cc117 FilterTestParams(const std::string& filter, const std::string& scheme, argument
120 : filter_(filter), scheme_(scheme), host_(host),
139 const std::string& scheme() const { return scheme_; } function in struct:policy::__anon4419::FilterTestParams
173 std::string scheme; local
181 &scheme,
187 EXPECT_EQ(GetParam().scheme(), scheme);
326 // Block domain and all subdomains, for any filtered scheme.
369 // Filter only a certain path prefix and scheme.
481 // Block domain and all subdomains, for any filtered scheme
[all...]
/external/chromium_org/chrome/browser/sessions/
H A Dbetter_session_restore_browsertest.cc67 const std::string& scheme) {
78 const std::string& scheme) {
64 URLRequestFaker( net::URLRequest* request, net::NetworkDelegate* network_delegate, const std::string& scheme) argument
75 URLRequestFakerForPostRequests( net::URLRequest* request, net::NetworkDelegate* network_delegate, const std::string& scheme) argument
/external/chromium_org/chrome/browser/ui/
H A Dchrome_pages.cc211 const std::string& scheme) {
214 if (scheme.empty()) // Any trusted popup window
221 return url.SchemeIs(scheme.c_str());
210 IsTrustedPopupWindowWithScheme(const Browser* browser, const std::string& scheme) argument
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/proxy_configuration/
H A Dproxy_form_controller.js191 * and scheme. If null, there is no single proxy.
202 * port, and scheme. If null, the single proxy checkbox will be unchecked.
219 * and scheme.
228 * port, and scheme. If empty, empties the proxy setting.
237 * and scheme.
246 * port, and scheme. If empty, empties the proxy setting.
255 * and scheme.
264 * port, and scheme. If empty, empties the proxy setting.
273 * and scheme.
282 * port, and scheme
297 scheme: document.getElementById('proxyScheme' + type).value, property
318 data = {scheme: 'http', host: '', port: ''}; property
[all...]
/external/chromium_org/chromecast/shell/browser/
H A Dcast_content_browser_client.cc76 const std::string& scheme = url.scheme(); local
78 if (scheme == kProtocolList[i])
/external/chromium_org/components/autofill/core/common/
H A Dpassword_form.h50 } scheme; member in struct:autofill::PasswordForm
52 // The "Realm" for the sign-on (scheme, host, port for SCHEME_HTML, and
58 // The original "Realm" for the sign-on (scheme, host, port for SCHEME_HTML,
68 // 3) The scheme is the same.
/external/chromium_org/components/component_updater/test/
H A Durl_request_post_interceptor.cc142 Delegate(const std::string& scheme, argument
145 : scheme_(scheme), hostname_(hostname), io_task_runner_(io_task_runner) {}
239 const std::string& scheme,
242 : scheme_(scheme),
245 delegate_(new URLRequestPostInterceptor::Delegate(scheme,
238 URLRequestPostInterceptorFactory( const std::string& scheme, const std::string& hostname, const scoped_refptr<base::SequencedTaskRunner>& io_task_runner) argument
/external/chromium_org/components/dom_distiller/content/
H A Ddom_distiller_viewer_source.cc86 // The scheme hosting the current view request;
255 const std::string& scheme)
256 : scheme_(scheme), dom_distiller_service_(dom_distiller_service) {
253 DomDistillerViewerSource( DomDistillerServiceInterface* dom_distiller_service, const std::string& scheme) argument
/external/chromium_org/components/omnibox/
H A Dautocomplete_input.cc137 base::string16* scheme,
151 // consider a scheme. For example, we shouldn't consider www.google.com:80
152 // to have a scheme.
157 if (scheme)
158 *scheme = parsed_scheme;
173 // A user might or might not type a scheme when entering a file URL. In
175 // but |parts->scheme| might be empty, e.g. if the user typed "C:\foo".
179 // If the user typed a scheme, and it's HTTP or HTTPS, we know how to parse it
182 // any input of this scheme. In theory we could do better with some schemes
185 if (parts->scheme
132 Parse( const base::string16& text, const base::string16& desired_tld, const AutocompleteSchemeClassifier& scheme_classifier, url::Parsed* parts, base::string16* scheme, GURL* canonicalized_url) argument
410 ParseForEmphasizeComponents( const base::string16& text, const AutocompleteSchemeClassifier& scheme_classifier, url::Component* scheme, url::Component* host) argument
491 url::Component scheme; local
[all...]
/external/chromium_org/content/browser/
H A Dhost_zoom_map_impl.cc113 bool HostZoomMapImpl::HasZoomLevel(const std::string& scheme, argument
118 scheme_host_zoom_levels_.find(scheme));
130 const std::string& scheme,
135 scheme_host_zoom_levels_.find(scheme));
155 std::string(), // scheme
164 const std::string& scheme = i->first; local
171 scheme, // scheme
205 void HostZoomMapImpl::SetZoomLevelForHostAndScheme(const std::string& scheme, argument
211 scheme_host_zoom_levels_[scheme][hos
129 GetZoomLevelForHostAndScheme( const std::string& scheme, const std::string& host) const argument
373 SendZoomLevelChange(const std::string& scheme, const std::string& host, double level) argument
[all...]
/external/chromium_org/extensions/common/
H A Durl_pattern.h17 // <url-pattern> := <scheme>://<host><port><path> | '<all_urls>'
18 // <scheme> := '*' | 'http' | 'https' | 'file' | 'ftp' | 'chrome' |
24 // * Host is not used when the scheme is 'file'.
27 // valid scheme (as specified by valid_schemes_).
28 // * The '*' scheme pattern excludes file URLs.
41 // - http:/bar -- scheme separator not found
42 // - foo://* -- invalid scheme
46 // A collection of scheme bitmasks for use with valid_schemes.
58 // SCHEME_ALL will match every scheme, including chrome://, chrome-
83 // Returns true if the given |scheme| i
133 const std::string& scheme() const { return scheme_; } function in class:URLPattern
[all...]
/external/chromium_org/net/http/
H A Dhttp_auth_cache.cc46 // Note that the scheme may be FTP when we're using a HTTP proxy.
82 HttpAuth::Scheme scheme) {
90 it->scheme() == scheme) {
137 HttpAuth::Scheme scheme,
147 HttpAuthCache::Entry* entry = Lookup(origin, realm, scheme);
166 entry->scheme_ = scheme;
171 DCHECK_EQ(scheme, entry->scheme_);
237 HttpAuth::Scheme scheme,
241 it->scheme()
80 Lookup(const GURL& origin, const std::string& realm, HttpAuth::Scheme scheme) argument
135 Add(const GURL& origin, const std::string& realm, HttpAuth::Scheme scheme, const std::string& auth_challenge, const AuthCredentials& credentials, const std::string& path) argument
235 Remove(const GURL& origin, const std::string& realm, HttpAuth::Scheme scheme, const AuthCredentials& credentials) argument
256 UpdateStaleChallenge(const GURL& origin, const std::string& realm, HttpAuth::Scheme scheme, const std::string& auth_challenge) argument
[all...]
H A Dhttp_auth_cache_unittest.cc24 MockAuthHandler(HttpAuth::Scheme scheme, argument
28 auth_scheme_ = scheme;
143 // While Realm3 does exist, the origin scheme is wrong.
148 // Realm, origin scheme ok, authentication scheme wrong
153 // Valid lookup by origin, realm, scheme.
157 EXPECT_EQ(HttpAuth::AUTH_SCHEME_BASIC, entry->scheme());
164 // Valid lookup by origin, realm, scheme when there's a duplicate
169 EXPECT_EQ(HttpAuth::AUTH_SCHEME_DIGEST, entry->scheme());
180 EXPECT_EQ(HttpAuth::AUTH_SCHEME_BASIC, entry->scheme());
[all...]

Completed in 1214 milliseconds

12345678910