| Index: net/http/http_cache_unittest.cc
|
| diff --git a/net/http/http_cache_unittest.cc b/net/http/http_cache_unittest.cc
|
| index 62269b7952c8b89bc3d66dc773b42c22f62311fb..f1957d699110b480fd0a3ab203bc0f321462efe2 100644
|
| --- a/net/http/http_cache_unittest.cc
|
| +++ b/net/http/http_cache_unittest.cc
|
| @@ -1328,7 +1328,7 @@ TEST(HttpCache, SimpleGET_PreserveRequestHeaders) {
|
| RunTransactionTest(cache.http_cache(), transaction);
|
|
|
| EXPECT_EQ(2, cache.network_layer()->transaction_count());
|
| - EXPECT_EQ(1, cache.disk_cache()->open_count());
|
| + EXPECT_EQ(0, cache.disk_cache()->open_count());
|
| EXPECT_EQ(1, cache.disk_cache()->create_count());
|
| RemoveMockTransaction(&transaction);
|
| }
|
| @@ -4950,7 +4950,7 @@ TEST(HttpCache, GET_NoConditionalization) {
|
| // The last response was saved.
|
| RunTransactionTest(cache.http_cache(), transaction);
|
| EXPECT_EQ(3, cache.network_layer()->transaction_count());
|
| - EXPECT_EQ(2, cache.disk_cache()->open_count());
|
| + EXPECT_EQ(1, cache.disk_cache()->open_count());
|
| EXPECT_EQ(2, cache.disk_cache()->create_count());
|
| }
|
|
|
| @@ -7384,7 +7384,7 @@ TEST(HttpCache, CacheControlNoCacheNormalLoad) {
|
| RunTransactionTest(cache.http_cache(), transaction);
|
|
|
| EXPECT_EQ(2, cache.network_layer()->transaction_count());
|
| - EXPECT_EQ(1, cache.disk_cache()->open_count());
|
| + EXPECT_EQ(0, cache.disk_cache()->open_count());
|
| EXPECT_EQ(1, cache.disk_cache()->create_count());
|
|
|
| disk_cache::Entry* entry;
|
|
|