| 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_storage_context.h" | 5 #include "storage/browser/blob/blob_storage_context.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 | 274 |
| 275 // Clean up temp files. | 275 // Clean up temp files. |
| 276 EXPECT_TRUE(file_runner_->HasPendingTask()); | 276 EXPECT_TRUE(file_runner_->HasPendingTask()); |
| 277 file_runner_->RunPendingTasks(); | 277 file_runner_->RunPendingTasks(); |
| 278 base::RunLoop().RunUntilIdle(); | 278 base::RunLoop().RunUntilIdle(); |
| 279 EXPECT_EQ(BlobStatus::PENDING_TRANSPORT, file_status); | 279 EXPECT_EQ(BlobStatus::PENDING_TRANSPORT, file_status); |
| 280 EXPECT_FALSE(file_handles.empty()); | 280 EXPECT_FALSE(file_handles.empty()); |
| 281 } | 281 } |
| 282 | 282 |
| 283 } // namespace storage | 283 } // namespace storage |
| OLD | NEW |