Searched refs:scheme (Results 1 - 25 of 687) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
H A DSchemeRegistry.cpp112 void SchemeRegistry::registerURLSchemeAsLocal(const String& scheme) argument
114 localURLSchemes().add(scheme);
117 void SchemeRegistry::removeURLSchemeRegisteredAsLocal(const String& scheme) argument
119 if (scheme == "file")
121 localURLSchemes().remove(scheme);
148 bool SchemeRegistry::shouldTreatURLSchemeAsLocal(const String& scheme) argument
150 if (scheme.isEmpty())
152 return localURLSchemes().contains(scheme);
155 void SchemeRegistry::registerURLSchemeAsNoAccess(const String& scheme) argument
157 schemesWithUniqueOrigins().add(scheme);
160 shouldTreatURLSchemeAsNoAccess(const String& scheme) argument
167 registerURLSchemeAsDisplayIsolated(const String& scheme) argument
172 shouldTreatURLSchemeAsDisplayIsolated(const String& scheme) argument
179 registerURLSchemeAsSecure(const String& scheme) argument
184 shouldTreatURLSchemeAsSecure(const String& scheme) argument
191 registerURLSchemeAsEmptyDocument(const String& scheme) argument
196 shouldLoadURLSchemeAsEmptyDocument(const String& scheme) argument
203 setDomainRelaxationForbiddenForURLScheme(bool forbidden, const String& scheme) argument
214 isDomainRelaxationForbiddenForURLScheme(const String& scheme) argument
221 canDisplayOnlyIfCanRequest(const String& scheme) argument
228 registerAsCanDisplayOnlyIfCanRequest(const String& scheme) argument
233 registerURLSchemeAsNotAllowingJavascriptURLs(const String& scheme) argument
238 shouldTreatURLSchemeAsNotAllowingJavascriptURLs(const String& scheme) argument
245 registerURLSchemeAsCORSEnabled(const String& scheme) argument
250 shouldTreatURLSchemeAsCORSEnabled(const String& scheme) argument
257 registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme) argument
262 removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String& scheme) argument
267 schemeShouldBypassContentSecurityPolicy(const String& scheme) argument
[all...]
H A DSchemeRegistry.h57 // SecurityOrigin::canDisplay) by documents from the same scheme.
69 static bool canDisplayOnlyIfCanRequest(const String& scheme);
70 static void registerAsCanDisplayOnlyIfCanRequest(const String& scheme);
74 static void registerURLSchemeAsNotAllowingJavascriptURLs(const String& scheme);
75 static bool shouldTreatURLSchemeAsNotAllowingJavascriptURLs(const String& scheme);
78 static void registerURLSchemeAsCORSEnabled(const String& scheme);
79 static bool shouldTreatURLSchemeAsCORSEnabled(const String& scheme);
83 static void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme);
84 static void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String& scheme);
85 static bool schemeShouldBypassContentSecurityPolicy(const String& scheme);
[all...]
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebSecurityPolicy.cpp45 void WebSecurityPolicy::registerURLSchemeAsLocal(const WebString& scheme) argument
47 SchemeRegistry::registerURLSchemeAsLocal(scheme);
50 void WebSecurityPolicy::registerURLSchemeAsNoAccess(const WebString& scheme) argument
52 SchemeRegistry::registerURLSchemeAsNoAccess(scheme);
55 void WebSecurityPolicy::registerURLSchemeAsDisplayIsolated(const WebString& scheme) argument
57 SchemeRegistry::registerURLSchemeAsDisplayIsolated(scheme);
60 void WebSecurityPolicy::registerURLSchemeAsSecure(const WebString& scheme) argument
62 SchemeRegistry::registerURLSchemeAsSecure(scheme);
65 void WebSecurityPolicy::registerURLSchemeAsCORSEnabled(const WebString& scheme) argument
67 SchemeRegistry::registerURLSchemeAsCORSEnabled(scheme);
70 registerURLSchemeAsBypassingContentSecurityPolicy(const WebString& scheme) argument
75 registerURLSchemeAsEmptyDocument(const WebString& scheme) argument
112 registerURLSchemeAsNotAllowingJavascriptURLs(const WebString& scheme) argument
[all...]
/external/chromium_org/net/url_request/
H A Durl_request_job_factory_impl.cc21 const std::string& scheme,
26 ProtocolHandlerMap::iterator it = protocol_handler_map_.find(scheme);
35 if (ContainsKey(protocol_handler_map_, scheme))
37 protocol_handler_map_[scheme] = protocol_handler;
42 const std::string& scheme,
46 ProtocolHandlerMap::const_iterator it = protocol_handler_map_.find(scheme);
53 const std::string& scheme) const {
55 return ContainsKey(protocol_handler_map_, scheme) ||
56 URLRequestJobManager::GetInstance()->SupportsScheme(scheme);
64 return IsHandledProtocol(url.scheme());
20 SetProtocolHandler( const std::string& scheme, ProtocolHandler* protocol_handler) argument
41 MaybeCreateJobWithProtocolHandler( const std::string& scheme, URLRequest* request, NetworkDelegate* network_delegate) const argument
[all...]
H A Durl_request_job_manager.cc26 const char* scheme; member in struct:net::__anon9899::SchemeToFactory
52 // If we are given an invalid URL, then don't even try to inspect the scheme.
60 const std::string& scheme = request->url().scheme(); // already lowercase local
62 if (!job_factory->IsHandledProtocol(scheme)) {
66 } else if (!SupportsScheme(scheme)) {
91 scheme, request, network_delegate);
101 FactoryMap::const_iterator i = factories_.find(scheme);
103 URLRequestJob* job = i->second(request, network_delegate, scheme);
110 if (scheme
139 const std::string& scheme = request->url().scheme(); // already lowercase local
171 const std::string& scheme = request->url().scheme(); // already lowercase local
205 RegisterProtocolFactory( const std::string& scheme, URLRequest::ProtocolFactory* factory) argument
[all...]
H A Dprotocol_intercept_job_factory.cc21 const std::string& scheme,
30 scheme, request, network_delegate);
34 const std::string& scheme) const {
35 return job_factory_->IsHandledProtocol(scheme);
20 MaybeCreateJobWithProtocolHandler( const std::string& scheme, URLRequest* request, NetworkDelegate* network_delegate) const argument
/external/chromium/net/proxy/
H A Dproxy_server_mac.cc18 ProxyServer ProxyServer::FromDictionary(Scheme scheme, argument
22 if (scheme == SCHEME_INVALID || scheme == SCHEME_DIRECT) {
24 return ProxyServer(scheme, HostPortPair());
45 port = GetDefaultPortForScheme(scheme);
48 return ProxyServer(scheme, HostPortPair(host, port));
/external/chromium_org/android_webview/browser/net/
H A Daw_url_request_job_factory.cc26 const std::string& scheme) const {
41 const std::string& scheme,
45 scheme, request, network_delegate);
50 // If URLRequest supports the scheme NULL should be returned from this method.
53 if (net::URLRequest::IsHandledProtocol(scheme))
61 const std::string& scheme,
63 return next_factory_->SetProtocolHandler(scheme, protocol_handler);
40 MaybeCreateJobWithProtocolHandler( const std::string& scheme, URLRequest* request, NetworkDelegate* network_delegate) const argument
60 SetProtocolHandler( const std::string& scheme, ProtocolHandler* protocol_handler) argument
/external/chromium_org/net/proxy/
H A Dproxy_server_mac.cc18 ProxyServer ProxyServer::FromDictionary(Scheme scheme, argument
22 if (scheme == SCHEME_INVALID || scheme == SCHEME_DIRECT) {
24 return ProxyServer(scheme, HostPortPair());
43 port = GetDefaultPortForScheme(scheme);
46 return ProxyServer(scheme, HostPortPair(host, port));
/external/chromium_org/third_party/WebKit/Source/modules/navigatorcontentutils/
H A DNavigatorContentUtils.idl23 [Conditional=NAVIGATOR_CONTENT_UTILS, RaisesException] void registerProtocolHandler(DOMString scheme, DOMString url, DOMString title);
24 [Conditional=NAVIGATOR_CONTENT_UTILS&CUSTOM_SCHEME_HANDLER, RaisesException] DOMString isProtocolHandlerRegistered(DOMString scheme, DOMString url);
25 [Conditional=NAVIGATOR_CONTENT_UTILS&CUSTOM_SCHEME_HANDLER, RaisesException] void unregisterProtocolHandler(DOMString scheme, DOMString url);
H A DNavigatorContentUtils.cpp99 static bool isProtocolWhitelisted(const String& scheme) argument
103 return protocolWhitelist->contains(scheme);
106 static bool verifyProtocolHandlerScheme(const String& scheme, const String& method, ExceptionState& exceptionState) argument
108 if (scheme.startsWith("web+")) {
109 // The specification requires that the length of scheme is at least five characteres (including 'web+' prefix).
110 if (scheme.length() >= 5 && isValidProtocol(scheme))
112 if (!isValidProtocol(scheme))
113 exceptionState.throwSecurityError("The scheme '" + scheme
139 registerProtocolHandler(Navigator* navigator, const String& scheme, const String& url, const String& title, ExceptionState& exceptionState) argument
179 isProtocolHandlerRegistered(Navigator* navigator, const String& scheme, const String& url, ExceptionState& exceptionState) argument
198 unregisterProtocolHandler(Navigator* navigator, const String& scheme, const String& url, ExceptionState& exceptionState) argument
[all...]
H A DNavigatorContentUtilsClient.h40 virtual void registerProtocolHandler(const String& scheme, const String& baseURL, const String& url, const String& title) = 0;
49 virtual CustomHandlersState isProtocolHandlerRegistered(const String& scheme, const String& baseURL, const String& url) = 0;
50 virtual void unregisterProtocolHandler(const String& scheme, const String& baseURL, const String& url) = 0;
/external/chromium_org/components/navigation_metrics/
H A Dnavigation_metrics.cc46 Scheme scheme = SCHEME_UNKNOWN; local
49 scheme = static_cast<Scheme>(i);
54 "Navigation.MainFrameScheme", scheme, SCHEME_MAX);
/external/chromium_org/chrome/browser/browsing_data/
H A Dbrowsing_data_helper.cc17 bool BrowsingDataHelper::IsWebScheme(const std::string& scheme) { argument
18 // Special-case `file://` scheme iff cookies and site data are enabled via
20 if (scheme == chrome::kFileScheme) {
29 return (policy->IsWebSafeScheme(scheme) &&
30 !BrowsingDataHelper::IsExtensionScheme(scheme) &&
31 scheme != chrome::kChromeDevToolsScheme);
37 return BrowsingDataHelper::IsWebScheme(origin.scheme());
41 bool BrowsingDataHelper::IsExtensionScheme(const std::string& scheme) { argument
42 return scheme == extensions::kExtensionScheme;
47 return BrowsingDataHelper::IsExtensionScheme(origin.scheme());
[all...]
H A Dbrowsing_data_helper.h27 // Returns true iff the provided scheme is (really) web safe, and suitable
31 static bool IsWebScheme(const std::string& scheme);
34 // Returns true iff the provided scheme is an extension.
35 static bool IsExtensionScheme(const std::string& scheme);
/external/chromium_org/webkit/common/database/
H A Ddatabase_identifier.cc23 static bool SchemeIsUnique(const std::string& scheme) { argument
24 return scheme == "about" || scheme == "data" || scheme == "javascript";
35 !origin.IsStandard() || SchemeIsUnique(origin.scheme()))
45 // We encode the default port for the specified scheme as 0. GURL
50 return DatabaseIdentifier(origin.scheme(),
72 std::string scheme(identifier.data(), first_underscore);
73 if (scheme == "file")
77 if (SchemeIsUnique(scheme))
106 DatabaseIdentifier(const std::string& scheme, const std::string& hostname, int port, bool is_unique, bool is_file) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
H A DPBESecretKeyFactory.java17 private int scheme; field in class:PBESecretKeyFactory
26 int scheme,
34 this.scheme = scheme;
51 return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null);
56 param = PBE.Util.makePBEParameters(pbeSpec, scheme, digest, keySize, ivSize);
60 param = PBE.Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize);
63 return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param);
22 PBESecretKeyFactory( String algorithm, ASN1ObjectIdentifier oid, boolean forCipher, int scheme, int digest, int keySize, int ivSize) argument
/external/chromium/net/base/
H A Dauth.cc15 this->scheme == that.scheme &&
/external/chromium/net/url_request/
H A Durl_request_filter.cc19 const std::string& scheme) {
21 return GetInstance()->FindRequestHandler(request, scheme);
31 void URLRequestFilter::AddHostnameHandler(const std::string& scheme, argument
33 hostname_handler_map_[make_pair(scheme, hostname)] = factory;
36 URLRequest::RegisterProtocolFactory(scheme, &URLRequestFilter::Factory);
44 hostname_handler_map_.find(make_pair(url.scheme(), url.host()));
51 void URLRequestFilter::RemoveHostnameHandler(const std::string& scheme, argument
54 hostname_handler_map_.find(make_pair(scheme, hostname));
59 // this would left no protocol factory for the scheme.
72 URLRequest::RegisterProtocolFactory(url.scheme(),
18 Factory(URLRequest* request, const std::string& scheme) argument
119 FindRequestHandler( URLRequest* request, const std::string& scheme) argument
[all...]
/external/okhttp/src/main/java/com/squareup/okhttp/
H A DOkAuthenticator.java54 private final String scheme; field in class:OkAuthenticator.Challenge
57 public Challenge(String scheme, String realm) { argument
58 this.scheme = scheme;
62 /** Returns the authentication scheme, like {@code Basic}. */
64 return scheme;
74 && ((Challenge) o).scheme.equals(scheme)
79 return scheme.hashCode() + 31 * realm.hashCode();
83 return scheme
[all...]
/external/apache-http/src/org/apache/http/auth/
H A DAuthScope.java39 * a port number, a realm name and an authentication scheme name which
66 * The <tt>null</tt> value represents any authentication scheme.
71 * Default scope matching any host, port, realm and authentication scheme.
77 /** The authentication scheme the credentials apply to. */
78 private final String scheme; field in class:AuthScope
91 * <tt>authentication scheme</tt>.
102 * @param scheme the authentication scheme the credentials apply to.
104 * any authentication scheme.
107 final String realm, final String scheme)
106 AuthScope(final String host, int port, final String realm, final String scheme) argument
[all...]
/external/apache-http/src/org/apache/http/conn/scheme/
H A DHostNameResolver.java32 package org.apache.http.conn.scheme;
/external/chromium_org/chrome/browser/extensions/api/content_settings/
H A Dcontent_settings_helpers.cc45 std::string GetDefaultPort(const std::string& scheme) { argument
46 if (scheme == content::kHttpScheme)
48 if (scheme == content::kHttpsScheme)
76 std::string scheme = url_pattern.scheme(); local
77 if (scheme == "*")
80 builder->WithScheme(scheme);
83 if (port.empty() && scheme != "file") {
84 if (scheme == "*")
87 port = GetDefaultPort(scheme);
[all...]
/external/chromium_org/chrome/common/
H A Dsearch_urls.cc16 (my_url.scheme() == other_url.scheme() ||
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLMetaElement.idl24 [Reflect] attribute DOMString scheme;

Completed in 968 milliseconds

1234567891011>>