chore: add missing gin::Wrappable
GetTypeName
overrides (#41512)
chore: add missing gin::Wrappable GetTypeName overrides
This commit is contained in:
parent
a7d664e3a3
commit
62331f5ac1
10 changed files with 23 additions and 5 deletions
|
@ -24,8 +24,6 @@ namespace electron::api {
|
|||
|
||||
class WebRequest : public gin::Wrappable<WebRequest>, public WebRequestAPI {
|
||||
public:
|
||||
static gin::WrapperInfo kWrapperInfo;
|
||||
|
||||
// Return the WebRequest object attached to |browser_context|, create if there
|
||||
// is no one.
|
||||
// Note that the lifetime of WebRequest object is managed by Session, instead
|
||||
|
@ -44,6 +42,7 @@ class WebRequest : public gin::Wrappable<WebRequest>, public WebRequestAPI {
|
|||
content::BrowserContext* browser_context);
|
||||
|
||||
// gin::Wrappable:
|
||||
static gin::WrapperInfo kWrapperInfo;
|
||||
gin::ObjectTemplateBuilder GetObjectTemplateBuilder(
|
||||
v8::Isolate* isolate) override;
|
||||
const char* GetTypeName() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue