Index: webkit/fileapi/obfuscated_file_system_file_util.h |
=================================================================== |
--- webkit/fileapi/obfuscated_file_system_file_util.h (revision 93837) |
+++ webkit/fileapi/obfuscated_file_system_file_util.h (working copy) |
@@ -212,8 +212,11 @@ |
// 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); |