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

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

Issue 1342613002: Revert of Remove reference counting from HttpNetworkSession. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f395307eebe3b42a096ff46781c597ba3ac16fc3..d90f71e094388fea11ac80f2cf568a6234d3df2c 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -383,12 +383,9 @@
// URLRequests may be accessing.
void DestroyResourceContext();
- scoped_ptr<net::HttpNetworkSession> CreateHttpNetworkSession(
- const ProfileParams& profile_params) const;
-
- // Creates main network transaction factory.
+ // Creates network session and main network transaction factory.
scoped_ptr<net::HttpCache> CreateMainHttpFactory(
- net::HttpNetworkSession* session,
+ const ProfileParams* profile_params,
net::HttpCache::BackendFactory* main_backend) const;
// Creates network transaction factory.
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698