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

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

Issue 2660983002: Change ProfileIOData::CreateHttpFactory to take an (Closed)
Patch Set: Get HttpTransactionFactory from URLRequestContext directly Created 3 years, 11 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 46249150e2c946bc2a7449701b472a2ce9c95c62..dd4b25de5a1d24fe2be3b8248f45e312a1a464e8 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -415,9 +415,10 @@ class ProfileIOData {
net::HttpNetworkSession* session,
std::unique_ptr<net::HttpCache::BackendFactory> main_backend) const;
- // Creates network transaction factory.
+ // Creates network transaction factory. The created factory will share
+ // HttpNetworkSession with |main_http_factory|.
std::unique_ptr<net::HttpCache> CreateHttpFactory(
- net::HttpNetworkSession* shared_session,
+ net::HttpTransactionFactory* main_http_factory,
std::unique_ptr<net::HttpCache::BackendFactory> backend) const;
void SetCookieSettingsForTesting(
« 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