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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/private_api_mount.h

Issue 622513002: Create a cache file before mounting zip file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/file_manager/private_api_mount.h
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_mount.h b/chrome/browser/chromeos/extensions/file_manager/private_api_mount.h
index f6f67e2e56863abace9aef4a829e8822815a62f0..c0f680cf1d6851bc9e7472b08d82e2401a9d4f15 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_mount.h
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_mount.h
@@ -10,6 +10,7 @@
#include <vector>
#include "base/files/file_path.h"
+#include "chrome/browser/chromeos/drive/drive.pb.h"
#include "chrome/browser/chromeos/drive/file_errors.h"
#include "chrome/browser/chromeos/extensions/file_manager/private_api_base.h"
@@ -33,6 +34,12 @@ class FileManagerPrivateAddMountFunction : public LoggedAsyncExtensionFunction {
virtual bool RunAsync() OVERRIDE;
private:
+ // Part of Run(). Called after GetFile for Drive File System.
+ void RunAfterGetDriveFile(const base::FilePath& drive_path,
+ drive::FileError error,
+ const base::FilePath& cache_path,
+ scoped_ptr<drive::ResourceEntry> entry);
+
// Part of Run(). Called after MarkCacheFielAsMounted for Drive File System.
// (or directly called from RunAsync() for other file system).
void RunAfterMarkCacheFileAsMounted(const base::FilePath& display_name,
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698