| Index: chrome/browser/chromeos/drive/fileapi/fileapi_worker.h
|
| diff --git a/chrome/browser/chromeos/drive/fileapi/fileapi_worker.h b/chrome/browser/chromeos/drive/fileapi/fileapi_worker.h
|
| index a33fece4f0bf37a42f31d73acbfba1e7ecf36f5c..5bf7b215226300d63a1eb805be801d7629781ea6 100644
|
| --- a/chrome/browser/chromeos/drive/fileapi/fileapi_worker.h
|
| +++ b/chrome/browser/chromeos/drive/fileapi/fileapi_worker.h
|
| @@ -34,6 +34,7 @@ class FilePath;
|
|
|
| namespace fileapi {
|
| struct DirectoryEntry;
|
| +class FileSystemURL;
|
| } // namespace fileapi
|
|
|
| namespace drive {
|
| @@ -69,6 +70,11 @@ typedef base::Callback<
|
| base::PlatformFile platform_file,
|
| const base::Closure& close_callback)> OpenFileCallback;
|
|
|
| +// Gets the profile of the Drive entry pointed by |url|. Used as
|
| +// FileSystemGetter callback by binding an URL on the IO thread and passing to
|
| +// the UI thread.
|
| +FileSystemInterface* GetFileSystemFromUrl(const fileapi::FileSystemURL& url);
|
| +
|
| // Runs |file_system_getter| to obtain the instance of FileSystemInstance,
|
| // and then runs |callback| with it.
|
| // If |file_system_getter| returns NULL, runs |error_callback| instead.
|
|
|