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

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

Issue 2335213004: [Extensions] Convert some ChromeSyncExtensionFunctions (Closed)
Patch Set: Created 4 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
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 a0084ccf065b42d71ea520d3c287901989cd99ac..0ec3e0352ac31037ce48c3f91e20b2c8c872d43a 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
@@ -10,43 +10,43 @@
namespace extensions {
-class FileSystemProviderMountFunction : public ChromeSyncExtensionFunction {
+class FileSystemProviderMountFunction : public UIThreadExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("fileSystemProvider.mount",
FILESYSTEMPROVIDER_MOUNT)
protected:
~FileSystemProviderMountFunction() override {}
- bool RunSync() override;
+ ResponseAction Run() override;
};
-class FileSystemProviderUnmountFunction : public ChromeSyncExtensionFunction {
+class FileSystemProviderUnmountFunction : public UIThreadExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("fileSystemProvider.unmount",
FILESYSTEMPROVIDER_UNMOUNT)
protected:
~FileSystemProviderUnmountFunction() override {}
- bool RunSync() override;
+ ResponseAction Run() override;
};
-class FileSystemProviderGetAllFunction : public ChromeSyncExtensionFunction {
+class FileSystemProviderGetAllFunction : public UIThreadExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("fileSystemProvider.getAll",
FILESYSTEMPROVIDER_GETALL)
protected:
~FileSystemProviderGetAllFunction() override {}
- bool RunSync() override;
+ ResponseAction Run() override;
};
-class FileSystemProviderGetFunction : public ChromeSyncExtensionFunction {
+class FileSystemProviderGetFunction : public UIThreadExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("fileSystemProvider.get", FILESYSTEMPROVIDER_GET)
protected:
~FileSystemProviderGetFunction() override {}
- bool RunSync() override;
+ ResponseAction Run() override;
};
class FileSystemProviderNotifyFunction : public ChromeAsyncExtensionFunction {

Powered by Google App Engine
This is Rietveld 408576698