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

Unified Diff: third_party/WebKit/Source/modules/fetch/Response.h

Issue 2780693003: [wasm] response-based compile APIs (Closed)
Patch Set: . Created 3 years, 9 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: third_party/WebKit/Source/modules/fetch/Response.h
diff --git a/third_party/WebKit/Source/modules/fetch/Response.h b/third_party/WebKit/Source/modules/fetch/Response.h
index 291c6fb5e5278e948153da1a75130d0eefeb3b03..4d05ef365fb957f1009f50e544d5733b8aaabfc1 100644
--- a/third_party/WebKit/Source/modules/fetch/Response.h
+++ b/third_party/WebKit/Source/modules/fetch/Response.h
@@ -26,7 +26,18 @@ class ScriptState;
class WebServiceWorkerResponse;
class MODULES_EXPORT Response final : public Body {
- DEFINE_WRAPPERTYPEINFO();
+ public:
+ const WrapperTypeInfo* wrapperTypeInfo() const override {
yhirano 2017/04/04 00:44:35 Can you add some comments explaining why these cus
Mircea Trofin 2017/04/04 04:08:12 Done.
+ return &s_wrapperTypeInfoOverride;
+ }
+
+ private:
+ static v8::Local<v8::FunctionTemplate> installerOverride(
+ v8::Isolate*,
+ const DOMWrapperWorld&);
+ static const WrapperTypeInfo& s_wrapperTypeInfo;
+ static const WrapperTypeInfo s_wrapperTypeInfoOverride;
+
WTF_MAKE_NONCOPYABLE(Response);
public:

Powered by Google App Engine
This is Rietveld 408576698