| Index: webkit/fileapi/obfuscated_file_system_file_util.h
|
| diff --git a/webkit/fileapi/obfuscated_file_system_file_util.h b/webkit/fileapi/obfuscated_file_system_file_util.h
|
| index 88caa65c555df57b790b1c00421f353590a12607..6e1d01c12eea5e9117098aeda842d16a8b37903e 100644
|
| --- a/webkit/fileapi/obfuscated_file_system_file_util.h
|
| +++ b/webkit/fileapi/obfuscated_file_system_file_util.h
|
| @@ -48,7 +48,7 @@ class ObfuscatedFileSystemFileUtil : public FileSystemFileUtil,
|
| public base::RefCountedThreadSafe<ObfuscatedFileSystemFileUtil> {
|
| public:
|
|
|
| - ObfuscatedFileSystemFileUtil(const FilePath& file_system_directory);
|
| + explicit ObfuscatedFileSystemFileUtil(const FilePath& file_system_directory);
|
| virtual ~ObfuscatedFileSystemFileUtil();
|
|
|
| virtual base::PlatformFileError CreateOrOpen(
|
| @@ -212,8 +212,11 @@ class ObfuscatedFileSystemFileUtil : public FileSystemFileUtil,
|
| // This does the reverse of DataPathToLocalPath.
|
| FilePath LocalPathToDataPath(
|
| const GURL& origin, FileSystemType type, const FilePath& local_path);
|
| + // This returns NULL if |create| flag is false and a filesystem does not
|
| + // exist for the given |origin_url| and |type|.
|
| + // For read operations |create| should be false.
|
| FileSystemDirectoryDatabase* GetDirectoryDatabase(
|
| - const GURL& origin_url, FileSystemType type);
|
| + const GURL& origin_url, FileSystemType type, bool create);
|
| void MarkUsed();
|
| void DropDatabases();
|
| bool DestroyDirectoryDatabase(const GURL& origin, FileSystemType type);
|
|
|