Enable override user agent in URLRequestContextGetter

This commit is contained in:
Cheng Zhao 2015-07-14 10:04:34 -07:00
parent 032401edf8
commit 8bb0ea438d
2 changed files with 5 additions and 0 deletions

View file

@ -77,6 +77,10 @@ const char kProxyPacUrl[] = "proxy-pac-url";
} // namespace
std::string URLRequestContextGetter::Delegate::GetUserAgent() {
return base::EmptyString();
}
net::URLRequestJobFactory* URLRequestContextGetter::Delegate::CreateURLRequestJobFactory(
content::ProtocolHandlerMap* protocol_handlers,
content::URLRequestInterceptorScopedVector* protocol_interceptors) {