| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "storage/browser/blob/blob_memory_controller.h" | 5 #include "storage/browser/blob/blob_memory_controller.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/files/file_util.h" | 8 #include "base/files/file_util.h" |
| 9 #include "base/files/scoped_temp_dir.h" | 9 #include "base/files/scoped_temp_dir.h" |
| 10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
| (...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1114 | 1114 |
| 1115 RunFileThreadTasks(); | 1115 RunFileThreadTasks(); |
| 1116 ExpectDiskSpaceCalled(); | 1116 ExpectDiskSpaceCalled(); |
| 1117 base::RunLoop().RunUntilIdle(); | 1117 base::RunLoop().RunUntilIdle(); |
| 1118 | 1118 |
| 1119 // Check the effective limit is constrained. | 1119 // Check the effective limit is constrained. |
| 1120 EXPECT_FALSE(controller.limits().IsDiskSpaceConstrained()); | 1120 EXPECT_FALSE(controller.limits().IsDiskSpaceConstrained()); |
| 1121 } | 1121 } |
| 1122 | 1122 |
| 1123 } // namespace storage | 1123 } // namespace storage |
| OLD | NEW |