| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <stdint.h> | 5 #include <stdint.h> |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 | 363 |
| 364 EXPECT_EQ(kInitialFileSize + 10, GetFileSize(file_path())); | 364 EXPECT_EQ(kInitialFileSize + 10, GetFileSize(file_path())); |
| 365 EXPECT_EQ(kInitialFileSize + 15 + 20, fake_backend()->on_memory_usage()); | 365 EXPECT_EQ(kInitialFileSize + 15 + 20, fake_backend()->on_memory_usage()); |
| 366 EXPECT_EQ(kInitialFileSize + 10, fake_backend()->on_disk_usage()); | 366 EXPECT_EQ(kInitialFileSize + 10, fake_backend()->on_disk_usage()); |
| 367 | 367 |
| 368 reservation2 = NULL; | 368 reservation2 = NULL; |
| 369 EXPECT_EQ(kInitialFileSize + 10, fake_backend()->on_memory_usage()); | 369 EXPECT_EQ(kInitialFileSize + 10, fake_backend()->on_memory_usage()); |
| 370 } | 370 } |
| 371 | 371 |
| 372 } // namespace content | 372 } // namespace content |
| OLD | NEW |