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

@ -36,6 +36,7 @@ class URLRequestContextGetter : public net::URLRequestContextGetter {
virtual ~Delegate() {}
virtual net::NetworkDelegate* CreateNetworkDelegate() { return NULL; }
virtual std::string GetUserAgent();
virtual net::URLRequestJobFactory* CreateURLRequestJobFactory(
content::ProtocolHandlerMap* protocol_handlers,
content::URLRequestInterceptorScopedVector* protocol_interceptors);