Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1882)

Unified Diff: chrome/browser/chromeos/drive/fileapi/fileapi_worker.h

Issue 145973016: Support cross-profile copy between Chrome OS Google Drive folders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fix. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698