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

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

Issue 1298253002: Remove reference counting from HttpNetworkSession. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed too much, back up a bit Created 5 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 7870c4b351d54f55ccb4daa7b2bb7c37b1200773..ffef60ba54019f20246be6e97498ffd9d45709e5 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -378,9 +378,13 @@ class ProfileIOData {
// URLRequests may be accessing.
void DestroyResourceContext();
+ // Creates the HTTP network session
+ scoped_ptr<net::HttpNetworkSession> CreateHttpNetworkSession(
+ const ProfileParams& profile_params) const;
+
// Creates network session and main network transaction factory.
scoped_ptr<net::HttpCache> CreateMainHttpFactory(
- const ProfileParams* profile_params,
+ net::HttpNetworkSession* session,
net::HttpCache::BackendFactory* main_backend) const;
// Creates network transaction factory.

Powered by Google App Engine
This is Rietveld 408576698