diff options
Diffstat (limited to 'chromium/net/http/mock_http_cache.h')
-rw-r--r-- | chromium/net/http/mock_http_cache.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chromium/net/http/mock_http_cache.h b/chromium/net/http/mock_http_cache.h index 90399ec4ff0..0fd192e597e 100644 --- a/chromium/net/http/mock_http_cache.h +++ b/chromium/net/http/mock_http_cache.h @@ -13,7 +13,7 @@ #include "base/containers/hash_tables.h" #include "net/disk_cache/disk_cache.h" #include "net/http/http_cache.h" -#include "net/http/http_transaction_unittest.h" +#include "net/http/http_transaction_test_util.h" //----------------------------------------------------------------------------- // Mock disk cache (a very basic memory cache implementation). @@ -174,6 +174,9 @@ class MockHttpCache { } MockDiskCache* disk_cache(); + // Wrapper around http_cache()->CreateTransaction(net::DEFAULT_PRIORITY...) + int CreateTransaction(scoped_ptr<net::HttpTransaction>* trans); + // Helper function for reading response info from the disk cache. static bool ReadResponseInfo(disk_cache::Entry* disk_entry, net::HttpResponseInfo* response_info, |