Remove old cookie enum values

https://chromium-review.googlesource.com/c/chromium/src/+/877515
This commit is contained in:
deepak1556 2018-04-11 14:14:03 +05:30 committed by Samuel Attard
parent 2c4bbacec1
commit 23f7ccbdda

View file

@ -60,10 +60,6 @@ struct Converter<net::CookieChangeCause> {
switch (val) { switch (val) {
case net::CookieChangeCause::INSERTED: case net::CookieChangeCause::INSERTED:
case net::CookieChangeCause::EXPLICIT: case net::CookieChangeCause::EXPLICIT:
case net::CookieChangeCause::EXPLICIT_DELETE_BETWEEN:
case net::CookieChangeCause::EXPLICIT_DELETE_PREDICATE:
case net::CookieChangeCause::EXPLICIT_DELETE_SINGLE:
case net::CookieChangeCause::EXPLICIT_DELETE_CANONICAL:
return mate::StringToV8(isolate, "explicit"); return mate::StringToV8(isolate, "explicit");
case net::CookieChangeCause::OVERWRITE: case net::CookieChangeCause::OVERWRITE:
return mate::StringToV8(isolate, "overwrite"); return mate::StringToV8(isolate, "overwrite");