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

Unified Diff: net/url_request/url_request_http_job.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 | « net/url_request/url_request_context_storage.cc ('k') | net/url_request/url_request_http_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_http_job.h
diff --git a/net/url_request/url_request_http_job.h b/net/url_request/url_request_http_job.h
index 3457166021e7a79a30089efde269e7ca440b15b0..ebfbe896ea873ad7c7c2492fd5f63ac1889b57e9 100644
--- a/net/url_request/url_request_http_job.h
+++ b/net/url_request/url_request_http_job.h
@@ -24,6 +24,7 @@ namespace net {
class HttpResponseHeaders;
class HttpResponseInfo;
class HttpTransaction;
+class HttpUserAgentSettings;
class URLRequestContext;
// A URLRequestJob subclass that is built on top of HttpTransaction. It
@@ -35,7 +36,9 @@ class URLRequestHttpJob : public URLRequestJob {
const std::string& scheme);
protected:
- URLRequestHttpJob(URLRequest* request, NetworkDelegate* network_delegate);
+ URLRequestHttpJob(URLRequest* request,
+ NetworkDelegate* network_delegate,
+ const HttpUserAgentSettings* http_user_agent_settings);
// Shadows URLRequestJob's version of this method so we can grab cookies.
void NotifyHeadersComplete();
@@ -244,6 +247,8 @@ class URLRequestHttpJob : public URLRequestJob {
scoped_ptr<HttpTransactionDelegateImpl> http_transaction_delegate_;
+ const HttpUserAgentSettings* http_user_agent_settings_;
+
DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob);
};
« no previous file with comments | « net/url_request/url_request_context_storage.cc ('k') | net/url_request/url_request_http_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698