| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_BROWSER_FILEAPI_SANDBOX_DATABASE_TEST_HELPER_H_ | |
| 6 #define CONTENT_BROWSER_FILEAPI_SANDBOX_DATABASE_TEST_HELPER_H_ | |
| 7 | |
| 8 #include <stddef.h> | |
| 9 | |
| 10 #include "third_party/leveldatabase/src/db/filename.h" | |
| 11 | |
| 12 namespace base { | |
| 13 class FilePath; | |
| 14 } | |
| 15 | |
| 16 namespace content { | |
| 17 | |
| 18 void CorruptDatabase(const base::FilePath& db_path, | |
| 19 leveldb::FileType type, | |
| 20 ptrdiff_t offset, | |
| 21 size_t size); | |
| 22 | |
| 23 void DeleteDatabaseFile(const base::FilePath& db_path, | |
| 24 leveldb::FileType type); | |
| 25 | |
| 26 } // namespace content | |
| 27 | |
| 28 #endif // CONTENT_BROWSER_FILEAPI_SANDBOX_DATABASE_TEST_HELPER_H_ | |
| OLD | NEW |