/external/nist-sip/java/gov/nist/javax/sip/address/ |
H A D | TelURLImpl.java | 52 this.scheme = "tel"; 81 /** Returns the value of the "scheme" of this URI, for example "sip", "sips" 84 * @return the scheme paramter of the URI 87 return this.scheme; 100 /** This method determines if this is a URI with a scheme of "sip" or "sips". 102 * @return true if the scheme is "sip" or "sips", false otherwise. 158 return this.scheme + ":" + telephoneNumber.encode(); 166 buffer.append(this.scheme).append(':');
|
H A D | GenericURI.java | 60 protected String scheme; field in class:GenericURI 75 scheme = uriString.substring(0, i); 100 /** Returns the value of the "scheme" of 103 * @return the scheme paramter of the URI 106 return scheme; 109 /** This method determines if this is a URI with a scheme of 112 * @return true if the scheme is "sip" or "sips", false otherwise.
|
/external/chromium_org/chrome/browser/external_protocol/ |
H A D | external_protocol_handler.h | 33 virtual BlockState GetBlockState(const std::string& scheme) = 0; 43 // Returns whether we should block a given scheme. 44 static BlockState GetBlockState(const std::string& scheme); 46 // Sets whether we should block a given scheme. 47 static void SetBlockState(const std::string& scheme, BlockState state);
|
H A D | external_protocol_handler.cc | 51 const std::string& scheme, 54 return ExternalProtocolHandler::GetBlockState(scheme); 56 return delegate->GetBlockState(scheme); 206 const std::string& scheme) { 211 if (scheme.length() == 1) { 229 if (update_excluded_schemas->GetBoolean(scheme, &should_block)) 237 void ExternalProtocolHandler::SetBlockState(const std::string& scheme, argument 247 update_excluded_schemas->Remove(scheme, NULL); 249 update_excluded_schemas->SetBoolean(scheme, (state == BLOCK)); 261 // Escape the input scheme t 50 GetBlockStateWithDelegate( const std::string& scheme, ExternalProtocolHandler::Delegate* delegate) argument 205 GetBlockState( const std::string& scheme) argument [all...] |
/external/chromium_org/chrome/browser/ui/ |
H A D | external_protocol_dialog_delegate.cc | 42 base::ASCIIToUTF16(url().scheme() + ":"), 66 url.scheme(), ExternalProtocolHandler::DONT_BLOCK); 78 url.scheme(), ExternalProtocolHandler::BLOCK);
|
/external/chromium_org/net/http/ |
H A D | http_auth_handler_factory.cc | 80 const std::string& scheme) { 82 supported_schemes.begin(), supported_schemes.end(), scheme); 97 const std::string& scheme, 99 HttpAuthHandlerFactory* factory = GetSchemeFactory(scheme); 105 const std::string& scheme, 107 std::string lower_scheme = base::StringToLowerASCII(scheme); 119 const std::string& scheme) const { 120 std::string lower_scheme = base::StringToLowerASCII(scheme); 123 return NULL; // |scheme| is not registered. 183 std::string scheme local 79 IsSupportedScheme(const std::vector<std::string>& supported_schemes, const std::string& scheme) argument 96 SetURLSecurityManager( const std::string& scheme, URLSecurityManager* security_manager) argument 104 RegisterSchemeFactory( const std::string& scheme, HttpAuthHandlerFactory* factory) argument [all...] |
H A D | http_auth_challenge_tokenizer_unittest.cc | 17 EXPECT_EQ(std::string("Basic"), challenge.scheme()); 33 EXPECT_EQ(std::string("Basic"), challenge.scheme()); 49 EXPECT_EQ(std::string("Basic"), challenge.scheme()); 65 EXPECT_EQ(std::string("Basic"), challenge.scheme()); 82 EXPECT_EQ(std::string("Basic"), challenge.scheme()); 99 EXPECT_EQ(std::string("Digest"), challenge.scheme()); 123 EXPECT_EQ(std::string("Digest"), challenge.scheme()); 137 EXPECT_EQ(std::string("Digest"), challenge.scheme()); 162 EXPECT_EQ(std::string("NTLM"), challenge.scheme()); 172 EXPECT_EQ(std::string("NTLM"), challenge.scheme()); [all...] |
H A D | http_auth_cache.cc | 46 // 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 D | http_auth_handler_factory.h | 58 // If |*challenge| specifies an unsupported authentication scheme, |*handler| 68 // scheme, and indicates the number of handlers generated for a particular 128 // to other factories based on the auth scheme. 135 // Sets an URL security manager into the factory associated with |scheme|. 136 void SetURLSecurityManager(const std::string& scheme, 140 // authentication scheme such as Basic, Digest, or Negotiate. 145 // for |scheme|. If a factory object used to exist for |scheme|, it will be 147 void RegisterSchemeFactory(const std::string& scheme, 150 // Retrieve the factory for the specified |scheme| [all...] |
/external/chromium_org/net/url_request/ |
H A D | url_request_filter.h | 24 // rather than just the scheme. Example usage: 26 // // Intercept "scheme://host/" requests. 27 // URLRequestFilter::GetInstance()->AddHostnameInterceptor("scheme", "host", 43 void AddHostnameHandler(const std::string& scheme, 47 const std::string& scheme, 50 void RemoveHostnameHandler(const std::string& scheme, 75 // scheme,hostname -> URLRequestInterceptor
|
/external/chromium_org/third_party/WebKit/Source/modules/navigatorcontentutils/ |
H A D | NavigatorContentUtils.h | 50 static void registerProtocolHandler(Navigator&, const String& scheme, const String& url, const String& title, ExceptionState&); 51 static String isProtocolHandlerRegistered(Navigator&, const String& scheme, const String& url, ExceptionState&); 52 static void unregisterProtocolHandler(Navigator&, const String& scheme, const String& url, ExceptionState&);
|
/external/chromium_org/chrome/browser/custom_handlers/ |
H A D | protocol_handler_registry.h | 116 const std::string& scheme, 119 virtual bool IsHandledProtocol(const std::string& scheme) const OVERRIDE; 173 void ClearDefault(const std::string& scheme); 185 int GetHandlerIndex(const std::string& scheme) const; 187 // Get the list of protocol handlers for the given scheme. 188 ProtocolHandlerList GetHandlersFor(const std::string& scheme) const; 198 // scheme. 199 bool CanSchemeBeOverridden(const std::string& scheme) const; 208 // Returns true if the scheme has at least one handler that is registered by 210 bool HasPolicyRegisteredHandler(const std::string& scheme); [all...] |
H A D | protocol_handler_registry.cc | 33 const std::string& scheme) { 35 handler_map.find(scheme); 76 bool IsHandledProtocol(const std::string& scheme) const; 80 void ClearDefault(const std::string& scheme); 117 const std::string& scheme) const { 119 return enabled_ && !LookupHandler(default_handlers_, scheme).IsEmpty(); 123 const std::string& scheme) { 125 default_handlers_.erase(scheme); 143 request->url().scheme()); 181 const std::string& scheme, 31 LookupHandler( const ProtocolHandlerRegistry::ProtocolHandlerMap& handler_map, const std::string& scheme) argument 122 ClearDefault( const std::string& scheme) argument 180 MaybeCreateJobWithProtocolHandler( const std::string& scheme, net::URLRequest* request, net::NetworkDelegate* network_delegate) const argument 396 ClearDefault(const std::string& scheme) argument 541 HasPolicyRegisteredHandler( const std::string& scheme) argument 647 RemoveDefaultHandler(const std::string& scheme) argument [all...] |
/external/chromium_org/url/ |
H A D | url_canon_filesystemurl.cc | 27 // filesystem only uses {scheme, path, query, ref} -- clear the rest. 37 // complicated scheme canonicalizer). 38 new_parsed->scheme.begin = output->length(); 40 new_parsed->scheme.len = 10; 42 if (!parsed.inner_parsed() || !parsed.inner_parsed()->scheme.is_valid()) 46 if (CompareSchemeComponent(spec, inner_parsed->scheme, url::kFileScheme)) { 47 new_inner_parsed.scheme.begin = output->length(); 49 new_inner_parsed.scheme.len = 4; 52 } else if (IsStandard(spec, inner_parsed->scheme)) {
|
H A D | url_parse_file.cc | 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 [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/ |
H A D | SHA1.java | 99 private int scheme; field in class:SHA1.BasePBKDF2WithHmacSHA1 101 public BasePBKDF2WithHmacSHA1(String name, int scheme) argument 105 this.scheme = scheme; 141 CipherParameters param = PBE.Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize); 143 return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param);
|
/external/chromium_org/components/autofill/core/common/ |
H A D | password_form_fill_data_unittest.cc | 31 form_on_page.scheme = PasswordForm::SCHEME_HTML; 45 preferred_match.scheme = PasswordForm::SCHEME_HTML; 94 form_on_page.scheme = PasswordForm::SCHEME_HTML; 109 preferred_match.scheme = PasswordForm::SCHEME_HTML; 123 exact_match.scheme = PasswordForm::SCHEME_HTML; 139 public_suffix_match.scheme = PasswordForm::SCHEME_HTML;
|
/external/chromium_org/content/public/browser/ |
H A D | child_process_security_policy.h | 36 // scheme has been registered, any child process can request URLs with 37 // that scheme. There is no mechanism for revoking web-safe schemes. 38 virtual void RegisterWebSafeScheme(const std::string& scheme) = 0; 40 // Returns true iff |scheme| has been registered as a web-safe scheme. 41 virtual bool IsWebSafeScheme(const std::string& scheme) = 0; 130 // scheme. 131 virtual void GrantScheme(int child_id, const std::string& scheme) = 0;
|
/external/chromium_org/net/socket_stream/ |
H A D | socket_stream_job.cc | 17 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/test/url_request/ |
H A D | url_request_failed_job.cc | 21 // scheme://kMockHostname/error_code. The error code must be a valid 35 GURL GetMockUrl(const std::string& scheme, argument 40 return GURL(scheme + "://" + hostname + "/" + base::IntToString(net_error)); 100 const std::string& scheme) { 97 Factory( net::URLRequest* request, net::NetworkDelegate* network_delegate, const std::string& scheme) argument
|
/external/apache-http/src/org/apache/http/conn/ |
H A D | ClientConnectionManager.java | 38 import org.apache.http.conn.scheme.SchemeRegistry; 62 * Obtains the scheme registry used by this manager. 64 * @return the scheme registry, never <code>null</code>
|
H A D | ClientConnectionOperator.java | 38 import org.apache.http.conn.scheme.SocketFactory; 109 * to the host and port, but the scheme of the target
|
/external/apache-http/src/org/apache/http/conn/scheme/ |
H A D | SocketFactory.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/scheme/SocketFactory.java $ 32 package org.apache.http.conn.scheme;
|
/external/chromium_org/components/content_settings/core/common/ |
H A D | content_settings_pattern.h | 60 // Lowercase string of the URL scheme to match. This string is empty if the 62 std::string scheme; member in struct:ContentSettingsPattern::PatternParts 64 // True if the scheme wildcard is set. 86 // scheme part. 105 virtual BuilderInterface* WithScheme(const std::string& scheme) = 0; 129 // Returns a pattern that matches the scheme and host of this URL, as well as 140 // - scheme://host:port (supported schemes: http,https) 141 // - scheme://[*.]domain.tld:port (supported schemes: http,https) 147 // Sets the scheme that doesn't support domain wildcard and port. 149 // |scheme| ca [all...] |
H A D | content_settings_pattern_parser.cc | 60 // Test if a scheme pattern is in the spec. 116 std::string scheme; local 118 scheme = pattern_spec.substr(scheme_component.start, scheme_component.len); 119 if (scheme == kSchemeWildcard) { 122 builder->WithScheme(scheme); 164 if (!ContentSettingsPattern::IsNonWildcardDomainNonPortScheme(scheme) && 165 scheme != url::kFileScheme) 192 str += parts.scheme + url::kStandardSchemeSeparator; 194 if (parts.scheme == url::kFileScheme) { 209 if (ContentSettingsPattern::IsNonWildcardDomainNonPortScheme(parts.scheme)) { [all...] |