| 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..87e35e07fb69597639eca84747783915ed1d1a8d
|
| --- /dev/null
|
| +++ b/webkit/fileapi/file_system_database_test_helper.h
|
| @@ -0,0 +1,23 @@
|
| +// 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);
|
| +
|
| +} // namespace fileapi
|
| +
|
| +#endif // WEBKIT_FILEAPI_FILE_SYSTEM_DATABASE_TEST_HELPER_H_
|
|
|