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_ |