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

Unified Diff: chrome/browser/profiles/profile_io_data.h

Issue 10834215: Remove static variables from HttpStreamFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added URLRequestContext::GetReferenceParams() Created 8 years, 4 months 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
Index: chrome/browser/profiles/profile_io_data.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index 204735193421851c8a1b5177b5b9e05fc06f5409..bd1e0d85834f6ae51888119ac18a965f91be81dd 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -19,6 +19,7 @@
#include "chrome/browser/net/chrome_url_request_context.h"
#include "content/public/browser/resource_context.h"
#include "net/cookies/cookie_monster.h"
+#include "net/http/http_network_session.h"
#include "net/url_request/url_request_job_factory.h"
class CookieSettings;
@@ -270,6 +271,12 @@ class ProfileIOData {
// URLRequests may be accessing.
void DestroyResourceContext();
+ // Fills in fields of params using values from main_request_context_ and the
+ // IOThread associated with profile_params.
+ void PopulateNetworkSessionParams(
+ net::HttpNetworkSession::Params& params,
+ const ProfileParams* profile_params) const;
+
private:
class ResourceContext : public content::ResourceContext {
public:

Powered by Google App Engine
This is Rietveld 408576698