| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <memory> | 5 #include <memory> |
| 6 | 6 |
| 7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.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/macros.h" | 10 #include "base/macros.h" |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 base::RunLoop().RunUntilIdle(); | 114 base::RunLoop().RunUntilIdle(); |
| 115 | 115 |
| 116 // Now the temporary file and the transient filesystem must be gone too. | 116 // Now the temporary file and the transient filesystem must be gone too. |
| 117 ASSERT_FALSE(base::PathExists(temp_path)); | 117 ASSERT_FALSE(base::PathExists(temp_path)); |
| 118 ASSERT_EQ(base::File::FILE_ERROR_NOT_FOUND, | 118 ASSERT_EQ(base::File::FILE_ERROR_NOT_FOUND, |
| 119 file_util()->GetFileInfo(NewOperationContext().get(), | 119 file_util()->GetFileInfo(NewOperationContext().get(), |
| 120 temp_url, &file_info, &path)); | 120 temp_url, &file_info, &path)); |
| 121 } | 121 } |
| 122 | 122 |
| 123 } // namespace content | 123 } // namespace content |
| OLD | NEW |