Chromium Code Reviews| Index: webkit/fileapi/file_system_database_test_helper.h |
| diff --git a/webkit/fileapi/file_system_database_test_helper.h b/webkit/fileapi/file_system_database_test_helper.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..88d6f9171ff0d674e99c0c911b6c8b63d8a1d673 |
| --- /dev/null |
| +++ b/webkit/fileapi/file_system_database_test_helper.h |
| @@ -0,0 +1,22 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef WEBKIT_FILEAPI_FILE_SYSTEM_DATABASE_TEST_HELPER_H_ |
| +#define WEBKIT_FILEAPI_FILE_SYSTEM_DATABASE_TEST_HELPER_H_ |
| + |
| +#include <cstddef> |
| + |
| +#include "third_party/leveldatabase/src/db/filename.h" |
| + |
| +class FilePath; |
| + |
| +namespace fileapi { |
| + |
| +void CorruptDatabase(const FilePath& db_path, |
| + leveldb::FileType type, |
| + ptrdiff_t offset, |
| + size_t size); |
| +} |
|
kinuko
2012/04/11 10:58:49
nit: can you add '// namespace fileapi' comment an
tzik
2012/04/11 13:39:06
Done.
|
| + |
| +#endif // WEBKIT_FILEAPI_FILE_SYSTEM_DATABASE_TEST_HELPER_H_ |