| Index: webkit/fileapi/file_system_file_util.h
|
| diff --git a/webkit/fileapi/file_system_file_util.h b/webkit/fileapi/file_system_file_util.h
|
| index fc1972b806ec34992673ece0cf8a5d823cbe3ebd..8c05c1d75052a9e32448dce1a82c328c26379edf 100644
|
| --- a/webkit/fileapi/file_system_file_util.h
|
| +++ b/webkit/fileapi/file_system_file_util.h
|
| @@ -159,7 +159,7 @@ class WEBKIT_STORAGE_EXPORT FileSystemFileUtil {
|
| // The filesystem type of |src_url| and |dest_url| MUST be same.
|
| //
|
| // This returns:
|
| - // - PLATFORM_FILE_ERROR_NOT_FOUND if |src_file_path|
|
| + // - PLATFORM_FILE_ERROR_NOT_FOUND if |src_url|
|
| // or the parent directory of |dest_url| does not exist.
|
| // - PLATFORM_FILE_ERROR_NOT_A_FILE if |src_url| exists but is not a file.
|
| // - PLATFORM_FILE_ERROR_INVALID_OPERATION if |dest_url| exists and
|
| @@ -226,6 +226,10 @@ class WEBKIT_STORAGE_EXPORT FileSystemFileUtil {
|
| // - PLATFORM_FILE_ERROR_NOT_FOUND if |url| does not exist.
|
| // - PLATFORM_FILE_ERROR_NOT_A_FILE if |url| is not a file.
|
| //
|
| + // The field values of |file_info| are undefined (implementation
|
| + // dependent) in error cases, and the caller should always
|
| + // check the return code.
|
| + //
|
| virtual base::PlatformFileError CreateSnapshotFile(
|
| FileSystemOperationContext* context,
|
| const FileSystemURL& url,
|
|
|