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

Unified Diff: net/http/http_cache.h

Issue 182993003: Add the ability for DevTools to wrap network transactions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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/test/base/testing_profile.cc ('k') | net/http/http_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_cache.h
diff --git a/net/http/http_cache.h b/net/http/http_cache.h
index 8784c8a3fd521b308f67264b4e00e657b4b8c560..732a9c09c75b03e5664c0b1f5f73e7a9388a547b 100644
--- a/net/http/http_cache.h
+++ b/net/http/http_cache.h
@@ -124,17 +124,16 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
HttpCache(const net::HttpNetworkSession::Params& params,
BackendFactory* backend_factory);
- // The disk cache is initialized lazily (by CreateTransaction) in this case.
+ // The disk cache is initialized lazily (by CreateTransaction) in this case.
// Provide an existing HttpNetworkSession, the cache can construct a
// network layer with a shared HttpNetworkSession in order for multiple
// network layers to share information (e.g. authentication data). The
// HttpCache takes ownership of the |backend_factory|.
HttpCache(HttpNetworkSession* session, BackendFactory* backend_factory);
- // Initialize the cache from its component parts, which is useful for
- // testing. The lifetime of the network_layer and backend_factory are managed
- // by the HttpCache and will be destroyed using |delete| when the HttpCache is
- // destroyed.
+ // Initialize the cache from its component parts. The lifetime of the
+ // |network_layer| and |backend_factory| are managed by the HttpCache and
+ // will be destroyed using |delete| when the HttpCache is destroyed.
HttpCache(HttpTransactionFactory* network_layer,
NetLog* net_log,
BackendFactory* backend_factory);
@@ -355,6 +354,9 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
bool RemovePendingTransactionFromPendingOp(PendingOp* pending_op,
Transaction* trans);
+ // Instantiates and sets QUIC server info factory.
+ void SetupQuicServerInfoFactory(HttpNetworkSession* session);
+
// Resumes processing the pending list of |entry|.
void ProcessPendingQueue(ActiveEntry* entry);
@@ -390,7 +392,7 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
Mode mode_;
- const scoped_ptr<QuicServerInfoFactoryAdaptor> quic_server_info_factory_;
+ scoped_ptr<QuicServerInfoFactoryAdaptor> quic_server_info_factory_;
scoped_ptr<HttpTransactionFactory> network_layer_;
« no previous file with comments | « chrome/test/base/testing_profile.cc ('k') | net/http/http_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698