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

Unified Diff: chrome/browser/extensions/api/idltest/idltest_api.h

Issue 2282063002: [Extensions] Convert some SyncExtensionFunctions (Closed)
Patch Set: revert Created 4 years, 4 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/idltest/idltest_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/idltest/idltest_api.h
diff --git a/chrome/browser/extensions/api/idltest/idltest_api.h b/chrome/browser/extensions/api/idltest/idltest_api.h
index 587664e310c560e60abe2b5a91e88bbc4d1cfb31..48b5e9d7d6c4ee0c69104b34d5e9e0b400051dad 100644
--- a/chrome/browser/extensions/api/idltest/idltest_api.h
+++ b/chrome/browser/extensions/api/idltest/idltest_api.h
@@ -7,32 +7,32 @@
#include "extensions/browser/extension_function.h"
-class IdltestSendArrayBufferFunction : public SyncExtensionFunction {
+class IdltestSendArrayBufferFunction : public UIThreadExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("idltest.sendArrayBuffer", IDLTEST_SENDARRAYBUFFER)
protected:
~IdltestSendArrayBufferFunction() override {}
- bool RunSync() override;
+ ResponseAction Run() override;
};
-class IdltestSendArrayBufferViewFunction : public SyncExtensionFunction {
+class IdltestSendArrayBufferViewFunction : public UIThreadExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("idltest.sendArrayBufferView",
IDLTEST_SENDARRAYBUFFERVIEW)
protected:
~IdltestSendArrayBufferViewFunction() override {}
- bool RunSync() override;
+ ResponseAction Run() override;
};
-class IdltestGetArrayBufferFunction : public SyncExtensionFunction {
+class IdltestGetArrayBufferFunction : public UIThreadExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("idltest.getArrayBuffer", IDLTEST_GETARRAYBUFFER)
protected:
~IdltestGetArrayBufferFunction() override {}
- bool RunSync() override;
+ ResponseAction Run() override;
};
#endif // CHROME_BROWSER_EXTENSIONS_API_IDLTEST_IDLTEST_API_H_
« no previous file with comments | « no previous file | chrome/browser/extensions/api/idltest/idltest_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698