mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
There is a new INSERTED type of ChangeCause
For the purpose of compatibility, we treat it as "explicit".
This commit is contained in:
committed by
Kevin Sawicki
parent
09fcb7fb27
commit
6165d36351
@@ -60,6 +60,7 @@ struct Converter<net::CookieStore::ChangeCause> {
|
||||
static v8::Local<v8::Value> ToV8(v8::Isolate* isolate,
|
||||
const net::CookieStore::ChangeCause& val) {
|
||||
switch (val) {
|
||||
case net::CookieStore::ChangeCause::INSERTED:
|
||||
case net::CookieStore::ChangeCause::EXPLICIT:
|
||||
return mate::StringToV8(isolate, "explicit");
|
||||
case net::CookieStore::ChangeCause::OVERWRITE:
|
||||
|
||||
Reference in New Issue
Block a user