Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1424)

Unified Diff: sync/internal_api/public/http_bridge.h

Issue 10918279: Provide mutable members of UrlRequestContext via pure-virtual interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable test for chrome_frame_net_tests Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/internal_api/http_bridge.cc ('k') | webkit/tools/test_shell/test_shell_request_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..40cf6e7150a955119947f921baeece0ae8ab3b41 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);
};
« no previous file with comments | « sync/internal_api/http_bridge.cc ('k') | webkit/tools/test_shell/test_shell_request_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698