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

Unified Diff: net/http/mock_http_cache.cc

Issue 182993003: Add the ability for DevTools to wrap network transactions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added optional QUIC setup in HttpCache constructor Created 6 years, 9 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: net/http/mock_http_cache.cc
diff --git a/net/http/mock_http_cache.cc b/net/http/mock_http_cache.cc
index 5dbd486df0ff551c2dd6237e004edfab8d941df0..6fae7315e39c9fe4ae35cffba660cd0ad0398329 100644
--- a/net/http/mock_http_cache.cc
+++ b/net/http/mock_http_cache.cc
@@ -497,11 +497,12 @@ int MockBackendFactory::CreateBackend(net::NetLog* net_log,
//-----------------------------------------------------------------------------
MockHttpCache::MockHttpCache()
- : http_cache_(new MockNetworkLayer(), NULL, new MockBackendFactory()) {
+ : http_cache_(new MockNetworkLayer(), NULL, new MockBackendFactory(),
+ false) {
mmenke 2014/03/31 18:10:20 nit: This should probably line up with the first
eustas 2014/04/18 12:33:19 Done.
}
MockHttpCache::MockHttpCache(net::HttpCache::BackendFactory* disk_cache_factory)
- : http_cache_(new MockNetworkLayer(), NULL, disk_cache_factory) {
+ : http_cache_(new MockNetworkLayer(), NULL, disk_cache_factory, false) {
}
MockDiskCache* MockHttpCache::disk_cache() {

Powered by Google App Engine
This is Rietveld 408576698