Home
last modified time | relevance | path

Searched refs:scheme_ (Results 1 – 25 of 25) sorted by relevance

/external/chromium_org/net/proxy/
Dproxy_server.h42 ProxyServer() : scheme_(SCHEME_INVALID) {} in ProxyServer()
46 bool is_valid() const { return scheme_ != SCHEME_INVALID; } in is_valid()
49 Scheme scheme() const { return scheme_; } in scheme()
52 bool is_direct() const { return scheme_ == SCHEME_DIRECT; } in is_direct()
55 bool is_http() const { return scheme_ == SCHEME_HTTP; } in is_http()
58 bool is_https() const { return scheme_ == SCHEME_HTTPS; } in is_https()
62 return scheme_ == SCHEME_SOCKS4 || scheme_ == SCHEME_SOCKS5; in is_socks()
66 bool is_quic() const { return scheme_ == SCHEME_QUIC; } in is_quic()
146 return scheme_ == other.scheme_ &&
152 if (scheme_ != other.scheme_)
[all …]
Dproxy_server.cc70 : scheme_(scheme), host_port_pair_(host_port_pair) { in ProxyServer()
71 if (scheme_ == SCHEME_DIRECT || scheme_ == SCHEME_INVALID) { in ProxyServer()
119 switch (scheme_) { in ToURI()
171 switch (scheme_) { in ToPacString()
/external/chromium_org/extensions/common/
Durl_pattern.cc198 bool standard_scheme = IsStandardScheme(scheme_); in Parse()
214 } else if (scheme_ == url::kFileScheme) { in Parse()
294 scheme_ = "*"; in SetMatchAllURLs()
307 scheme_ = scheme; in SetScheme()
308 if (scheme_ == "*") { in SetScheme()
310 } else if (!IsValidScheme(scheme_)) { in SetScheme()
338 if (IsValidPortForScheme(scheme_, port)) { in SetPort()
392 return scheme_ == "*" || test == scheme_; in MatchesScheme()
472 return !ImpliesAllHosts() && scheme_ != "*" && !match_subdomains_; in MatchesSingleOrigin()
493 bool standard_scheme = IsStandardScheme(scheme_); in GetAsString()
[all …]
Durl_pattern.h133 const std::string& scheme() const { return scheme_; } in scheme()
233 std::string scheme_; variable
/external/chromium_org/net/url_request/
Dtest_url_request_interceptor.cc52 : scheme_(scheme), in Delegate()
61 scheme_, hostname_, scoped_ptr<net::URLRequestInterceptor>(this)); in Register()
98 if (request->url().scheme() != scheme_ || in MaybeInterceptRequest()
125 const std::string scheme_; member in net::TestURLRequestInterceptor::Delegate
145 : scheme_(scheme), in TestURLRequestInterceptor()
158 FROM_HERE, base::Bind(&Delegate::Unregister, scheme_, hostname_)); in ~TestURLRequestInterceptor()
163 CHECK_EQ(scheme_, url.scheme()); in SetResponse()
176 CHECK_EQ(scheme_, url.scheme()); in SetResponseIgnoreQuery()
Dtest_url_request_interceptor.h57 const std::string scheme_; variable
/external/chromium_org/storage/common/database/
Ddatabase_identifier.cc118 : scheme_(scheme), in DatabaseIdentifier()
132 return scheme_ + "_" + hostname_ + "_" + base::IntToString(port_); in ToString()
141 return GURL(scheme_ + "://" + hostname_); in ToOrigin()
142 return GURL(scheme_ + "://" + hostname_ + ":" + base::IntToString(port_)); in ToOrigin()
Ddatabase_identifier.h32 std::string scheme() const { return scheme_; } in scheme()
45 std::string scheme_; variable
/external/chromium_org/components/component_updater/test/
Durl_request_post_interceptor.cc145 : scheme_(scheme), hostname_(hostname), io_task_runner_(io_task_runner) {} in Delegate()
150 scheme_, hostname_, scoped_ptr<net::URLRequestInterceptor>(this)); in Register()
159 net::URLRequestFilter::GetInstance()->RemoveHostnameHandler(scheme_, in Unregister()
231 const std::string scheme_; member in component_updater::URLRequestPostInterceptor::Delegate
242 : scheme_(scheme), in URLRequestPostInterceptorFactory()
264 base::StringPrintf("%s://%s", scheme_.c_str(), hostname_.c_str())); in CreateInterceptor()
Durl_request_post_interceptor.h142 const std::string scheme_;
/external/chromium_org/chrome/browser/chromeos/
Dexternal_protocol_dialog.cc69 scheme_, ExternalProtocolHandler::DONT_BLOCK); in Accept()
93 scheme_(url.scheme()) { in ExternalProtocolDialog()
Dexternal_protocol_dialog.h55 std::string scheme_; variable
/external/chromium_org/components/dom_distiller/content/
Ddom_distiller_viewer_source.cc256 : scheme_(scheme), dom_distiller_service_(dom_distiller_service) { in DomDistillerViewerSource()
263 return scheme_ + "://"; in GetSource()
302 web_contents, scheme_, path_after_query_separator, callback, in StartDataRequest()
339 return request->url().SchemeIs(scheme_.c_str()); in ShouldServiceRequest()
Ddom_distiller_viewer_source.h48 std::string scheme_; variable
/external/chromium_org/net/http/
Dhttp_auth_cache.h45 return scheme_; in scheme()
90 HttpAuth::Scheme scheme_; variable
Dhttp_auth_cache.cc166 entry->scheme_ = scheme; in Add()
171 DCHECK_EQ(scheme, entry->scheme_); in Add()
192 : scheme_(HttpAuth::AUTH_SCHEME_MAX), in Entry()
Dhttp_auth_sspi_win.cc193 scheme_(scheme), in HttpAuthSSPI()
233 base::StringToLowerASCII(scheme_).c_str())) in ParseChallenge()
288 *auth_token = scheme_ + " " + encode_output; in GenerateAuthToken()
Dhttp_auth_sspi_win.h170 std::string scheme_; variable
Dhttp_auth_gssapi_posix.cc658 : scheme_(scheme), in HttpAuthGSSAPI()
691 base::StringToLowerASCII(scheme_).c_str())) in ParseChallenge()
740 *auth_token = scheme_ + " " + encode_output; in GenerateAuthToken()
Dhttp_auth_gssapi_posix.h269 std::string scheme_; variable
/external/chromium_org/components/omnibox/
Dautocomplete_input.h164 const base::string16& scheme() const { return scheme_; } in scheme()
201 base::string16 scheme_; variable
Dautocomplete_input.cc73 type_ = Parse(text_, desired_tld, scheme_classifier, &parts_, &scheme_, in AutocompleteInput()
516 scheme_.clear(); in Clear()
/external/chromium_org/chrome/browser/policy/
Durl_blacklist_manager_unittest.cc120 : filter_(filter), scheme_(scheme), host_(host), in FilterTestParams()
124 : filter_(params.filter_), scheme_(params.scheme_), host_(params.host_), in FilterTestParams()
130 scheme_ = params.scheme_; in operator =()
139 const std::string& scheme() const { return scheme_; } in scheme()
147 std::string scheme_; member
/external/chromium_org/content/renderer/
Drender_thread_impl.cc196 double zoom_level) : scheme_(scheme), in RenderViewZoomer()
212 (scheme_.empty() || scheme_ == url.scheme()) && in Visit()
222 const std::string scheme_; member in content::__anon539c832e0111::RenderViewZoomer
/external/chromium_org/content/browser/loader/
Dresource_dispatcher_host_unittest.cc882 std::string scheme_; member in content::ResourceDispatcherHostTest