| Index: chrome/browser/chromeos/drive/file_system_util.h
|
| diff --git a/chrome/browser/chromeos/drive/file_system_util.h b/chrome/browser/chromeos/drive/file_system_util.h
|
| index 104a4eb12a5aab7bf7c358450515b0c8be42fe72..0fa527bff004a58ee94d5567761c53162f695424 100644
|
| --- a/chrome/browser/chromeos/drive/file_system_util.h
|
| +++ b/chrome/browser/chromeos/drive/file_system_util.h
|
| @@ -153,6 +153,12 @@ void PrepareWritableFileAndRun(Profile* profile,
|
| const base::FilePath& path,
|
| const PrepareWritableFileCallback& callback);
|
|
|
| +// Checks whether a directory exists at the given Drive path |directory|.
|
| +// Must be called from UI thread. The result will be called back to |callback|.
|
| +void CheckDirectoryExists(Profile* profile,
|
| + const base::FilePath& directory,
|
| + const FileOperationCallback& callback);
|
| +
|
| // Ensures the existence of |directory| of '/special/drive/foo'. This will
|
| // create |directory| and its ancestors if they don't exist. |callback| is
|
| // invoked after making sure that |directory| exists. |callback| should
|
|
|