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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/private_api_tasks.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_manager/private_api_tasks.h
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_tasks.h b/chrome/browser/chromeos/extensions/file_manager/private_api_tasks.h
index 3f951a9592b4ad7b7c136028400e6cc3c477dabd..ec7602402a51dee36baa2827dc267facb97c86f4 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_tasks.h
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_tasks.h
@@ -81,7 +81,7 @@ class FileManagerPrivateInternalGetFileTasksFunction
// Implements the chrome.fileManagerPrivateInternal.setDefaultTask method.
class FileManagerPrivateInternalSetDefaultTaskFunction
- : public ChromeSyncExtensionFunction {
+ : public UIThreadExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("fileManagerPrivateInternal.setDefaultTask",
FILEMANAGERPRIVATEINTERNAL_SETDEFAULTTASK)
@@ -89,8 +89,8 @@ class FileManagerPrivateInternalSetDefaultTaskFunction
protected:
~FileManagerPrivateInternalSetDefaultTaskFunction() override {}
- // SyncExtensionFunction overrides.
- bool RunSync() override;
+ // ExtensionFunction:
+ ResponseAction Run() override;
};
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698