diff options
Diffstat (limited to 'sync/internal_api/public/http_bridge.h')
-rw-r--r-- | sync/internal_api/public/http_bridge.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sync/internal_api/public/http_bridge.h b/sync/internal_api/public/http_bridge.h index 15001c2..40cf6e7 100644 --- a/sync/internal_api/public/http_bridge.h +++ b/sync/internal_api/public/http_bridge.h @@ -25,6 +25,7 @@ class HttpBridgeTest; namespace net { class HttpResponseHeaders; +class HttpUserAgentSettings; class URLFetcher; } @@ -58,12 +59,10 @@ class HttpBridge : public base::RefCountedThreadSafe<HttpBridge>, // The destructor MUST be called on the IO thread. virtual ~RequestContext(); - virtual const std::string& GetUserAgent(const GURL& url) const OVERRIDE; - private: net::URLRequestContext* const baseline_context_; const scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; - const std::string user_agent_; + scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings_; DISALLOW_COPY_AND_ASSIGN(RequestContext); }; |