| Index: sql/error_delegate_util.cc
|
| diff --git a/sql/error_delegate_util.cc b/sql/error_delegate_util.cc
|
| index 37fe006947e0afcd8e8f329d62666fef5b287983..ae856b77eb1addc44bc38316439a12524775e0cf 100644
|
| --- a/sql/error_delegate_util.cc
|
| +++ b/sql/error_delegate_util.cc
|
| @@ -77,4 +77,13 @@ bool IsErrorCatastrophic(int error) {
|
| return false;
|
| }
|
|
|
| +std::string GetCorruptFileDiagnosticsInfo(
|
| + const base::FilePath& corrupted_file_path) {
|
| + std::string corrupted_file_info("Corrupted file: ");
|
| + corrupted_file_info +=
|
| + corrupted_file_path.DirName().BaseName().AsUTF8Unsafe() + "/" +
|
| + corrupted_file_path.BaseName().AsUTF8Unsafe() + "\n";
|
| + return corrupted_file_info;
|
| +}
|
| +
|
| } // namespace sql
|
|
|