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

Unified Diff: chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h

Issue 1151763007: Add the boilerplate for actions to File System Provider API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed. Created 5 years, 6 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/extensions/file_system_provider/file_system_provider_api.h
diff --git a/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h b/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h
index 224ac9a94cc4637c0307775ccc91933ec968dce6..a0084ccf065b42d71ea520d3c287901989cd99ac 100644
--- a/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h
+++ b/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h
@@ -68,7 +68,7 @@ class FileSystemProviderInternalUnmountRequestedSuccessFunction
public:
DECLARE_EXTENSION_FUNCTION(
"fileSystemProviderInternal.unmountRequestedSuccess",
- FILESYSTEMPROVIDERINTERNAL_GETMETADATAREQUESTEDSUCCESS)
+ FILESYSTEMPROVIDERINTERNAL_UNMOUNTREQUESTEDSUCCESS)
protected:
~FileSystemProviderInternalUnmountRequestedSuccessFunction() override {}
@@ -87,6 +87,18 @@ class FileSystemProviderInternalGetMetadataRequestedSuccessFunction
bool RunWhenValid() override;
};
+class FileSystemProviderInternalGetActionsRequestedSuccessFunction
+ : public FileSystemProviderInternalFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION(
+ "fileSystemProviderInternal.getActionsRequestedSuccess",
+ FILESYSTEMPROVIDERINTERNAL_GETACTIONSREQUESTEDSUCCESS)
+
+ protected:
+ ~FileSystemProviderInternalGetActionsRequestedSuccessFunction() override {}
+ bool RunWhenValid() override;
+};
+
class FileSystemProviderInternalReadDirectoryRequestedSuccessFunction
: public FileSystemProviderInternalFunction {
public:

Powered by Google App Engine
This is Rietveld 408576698