Home | History | Annotate | Download | only in url_request

Lines Matching refs:scheme

22                                          const std::string& scheme) {
24 return GetInstance()->FindRequestHandler(request, scheme);
27 void URLRequestFilter::AddHostnameHandler(const std::string& scheme,
29 hostname_handler_map_[make_pair(scheme, hostname)] = factory;
32 URLRequest::RegisterProtocolFactory(scheme,
41 hostname_handler_map_.find(make_pair(url.scheme(), url.host()));
48 void URLRequestFilter::RemoveHostnameHandler(const std::string& scheme,
51 hostname_handler_map_.find(make_pair(scheme, hostname));
56 // would left no protocol factory for the scheme. URLRequestFilter::Factory
67 URLRequest::RegisterProtocolFactory(url.scheme(),
72 hostname_handler_map_.find(make_pair(url.scheme(), url.host()));
86 // would left no protocol factory for the scheme. URLRequestFilter::Factory
95 schemes.insert(GURL(i->first).scheme());
101 for (std::set<std::string>::const_iterator scheme = schemes.begin();
102 scheme != schemes.end(); ++scheme) {
103 URLRequest::RegisterProtocolFactory(*scheme, NULL);
112 const std::string& scheme) {
119 hostname_handler_map_.find(make_pair(scheme, hostname));
121 job = i->second(request, scheme);
128 job = i->second(request, scheme);