refactor: native_mate => gin (cookies API) (#18036)
* convert cookie converters to gin * event_emitter GetWrapper
This commit is contained in:
parent
e9d88e965e
commit
fdf5f838f4
5 changed files with 36 additions and 21 deletions
|
@ -12,7 +12,7 @@
|
|||
#include "atom/browser/net/cookie_details.h"
|
||||
#include "atom/common/promise_util.h"
|
||||
#include "base/callback_list.h"
|
||||
#include "native_mate/handle.h"
|
||||
#include "gin/handle.h"
|
||||
#include "net/cookies/canonical_cookie.h"
|
||||
|
||||
namespace base {
|
||||
|
@ -36,8 +36,8 @@ class Cookies : public mate::TrackableObject<Cookies> {
|
|||
FAILED,
|
||||
};
|
||||
|
||||
static mate::Handle<Cookies> Create(v8::Isolate* isolate,
|
||||
AtomBrowserContext* browser_context);
|
||||
static gin::Handle<Cookies> Create(v8::Isolate* isolate,
|
||||
AtomBrowserContext* browser_context);
|
||||
|
||||
// mate::TrackableObject:
|
||||
static void BuildPrototype(v8::Isolate* isolate,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue