Chromium Code Reviews| Index: sync/internal_api/public/http_bridge.h |
| diff --git a/sync/internal_api/public/http_bridge.h b/sync/internal_api/public/http_bridge.h |
| index 15001c2182c737be774b1b36364b9607795dff9d..dd8bed9fb3018930cf31e6f4a170f0e3a5c55de0 100644 |
| --- a/sync/internal_api/public/http_bridge.h |
| +++ b/sync/internal_api/public/http_bridge.h |
| @@ -24,6 +24,7 @@ class MessageLoop; |
| class HttpBridgeTest; |
| namespace net { |
| +class StaticHttpUserAgentSettings; |
| class HttpResponseHeaders; |
| class URLFetcher; |
| } |
| @@ -58,12 +59,11 @@ 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::StaticHttpUserAgentSettings> |
|
erikwright (departed)
2012/10/24 13:14:33
This could be just HttpUserAgentSettings, right?
|
| + static_http_user_agent_settings_; |
| DISALLOW_COPY_AND_ASSIGN(RequestContext); |
| }; |