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

Unified Diff: chrome/browser/extensions/api/file_system/file_system_api.h

Issue 10692104: Add isWritableFileEntry to the fileSystem API (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: added presubmit fix Created 8 years, 5 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/extensions/api/file_system/file_system_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/file_system/file_system_api.h
diff --git a/chrome/browser/extensions/api/file_system/file_system_api.h b/chrome/browser/extensions/api/file_system/file_system_api.h
index b3a58d2b92dd99f9dd943005094254fd37de90da..f65649ed53df65d00c02822f1aafd80bf5c83d32 100644
--- a/chrome/browser/extensions/api/file_system/file_system_api.h
+++ b/chrome/browser/extensions/api/file_system/file_system_api.h
@@ -54,6 +54,15 @@ class FileSystemGetWritableFileEntryFunction : public FileSystemEntryFunction {
virtual bool RunImpl() OVERRIDE;
};
+class FileSystemIsWritableFileEntryFunction : public SyncExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION_NAME("fileSystem.isWritableFileEntry");
+
+ protected:
+ virtual ~FileSystemIsWritableFileEntryFunction() {}
+ virtual bool RunImpl() OVERRIDE;
+};
+
class FileSystemChooseFileFunction : public FileSystemEntryFunction {
public:
// Allow picker UI to be skipped in testing.
« no previous file with comments | « no previous file | chrome/browser/extensions/api/file_system/file_system_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698