| 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 "content/browser/fileapi/sandbox_database_test_helper.h" | 5 #include "storage/browser/test/sandbox_database_test_helper.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <functional> | 10 #include <functional> |
| 11 #include <limits> | 11 #include <limits> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/files/file.h" | 14 #include "base/files/file.h" |
| 15 #include "base/files/file_enumerator.h" | 15 #include "base/files/file_enumerator.h" |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 EXPECT_TRUE(leveldb::ParseFileName(FilePathToString(file_path.BaseName()), | 87 EXPECT_TRUE(leveldb::ParseFileName(FilePathToString(file_path.BaseName()), |
| 88 &number, &file_type)); | 88 &number, &file_type)); |
| 89 if (file_type == type) { | 89 if (file_type == type) { |
| 90 base::DeleteFile(file_path, false); | 90 base::DeleteFile(file_path, false); |
| 91 // We may have multiple files for the same type, so don't break here. | 91 // We may have multiple files for the same type, so don't break here. |
| 92 } | 92 } |
| 93 } | 93 } |
| 94 } | 94 } |
| 95 | 95 |
| 96 } // namespace content | 96 } // namespace content |
| OLD | NEW |