There is a new INSERTED type of ChangeCause
For the purpose of compatibility, we treat it as "explicit".
This commit is contained in:
parent
09fcb7fb27
commit
6165d36351
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue