| Index: sql/test/test_helpers.h
|
| diff --git a/sql/test/test_helpers.h b/sql/test/test_helpers.h
|
| index e93b207c566b855e88e9650495a6c5f2b965e8f6..b2cecb068581a5394a2fb37b3a4336a1fbc18c03 100644
|
| --- a/sql/test/test_helpers.h
|
| +++ b/sql/test/test_helpers.h
|
| @@ -33,6 +33,11 @@ namespace test {
|
| // Returns false if any error occurs accessing the file.
|
| bool CorruptSizeInHeader(const base::FilePath& db_path) WARN_UNUSED_RESULT;
|
|
|
| +// Common implementation of CorruptSizeInHeader() which operates on loaded
|
| +// memory. Shared between CorruptSizeInHeader() and the the mojo proxy testing
|
| +// code.
|
| +void CorruptSizeInHeaderMemory(unsigned char* header, int64_t db_size);
|
| +
|
| // Frequently corruption is a result of failure to atomically update
|
| // pages in different structures. For instance, if an index update
|
| // takes effect but the corresponding table update does not. This
|
|
|