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

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

Issue 194693002: [fsp] Add requestUnmount() method together with the request manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed some too strict thread checks. Created 6 years, 8 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 ae14ca2ff45c5fa98040c7fba3ca6b8b10679f4c..48b32bd64726e6e9675a9c8c018e0fdf6669c3a2 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
@@ -20,6 +20,39 @@ class FileSystemProviderMountFunction : public ChromeAsyncExtensionFunction {
virtual bool RunImpl() OVERRIDE;
};
+class FileSystemProviderUnmountFunction : public ChromeAsyncExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("fileSystemProvider.unmount",
+ FILESYSTEMPROVIDER_UNMOUNT)
+
+ protected:
+ virtual ~FileSystemProviderUnmountFunction() {}
+ virtual bool RunImpl() OVERRIDE;
+};
+
+class FileSystemProviderInternalUnmountRequestedSuccessFunction
+ : public ChromeAsyncExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION(
+ "fileSystemProviderInternal.unmountRequestedSuccess",
+ FILESYSTEMPROVIDERINTERNAL_UNMOUNTREQUESTEDSUCCESS)
+
+ protected:
+ virtual ~FileSystemProviderInternalUnmountRequestedSuccessFunction() {}
+ virtual bool RunImpl() OVERRIDE;
+};
+
+class FileSystemProviderInternalUnmountRequestedErrorFunction
+ : public ChromeAsyncExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("fileSystemProviderInternal.unmountRequestedError",
+ FILESYSTEMPROVIDERINTERNAL_UNMOUNTREQUESTEDERROR)
+
+ protected:
+ virtual ~FileSystemProviderInternalUnmountRequestedErrorFunction() {}
+ virtual bool RunImpl() OVERRIDE;
+};
+
} // namespace extensions
#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_SYSTEM_PROVIDER_FILE_SYSTEM_PROVIDER_API_H_

Powered by Google App Engine
This is Rietveld 408576698