mirror of
https://github.com/electron/electron.git
synced 2026-01-28 00:38:35 -05:00
Change signature of GetCookieListCallback to include list of excluded cookies
https://chromium-review.googlesource.com/c/chromium/src/+/1416151
This commit is contained in:
committed by
Samuel Attard
parent
ccd4a3c80c
commit
43361164e8
@@ -139,7 +139,8 @@ inline net::CookieStore* GetCookieStore(
|
||||
// Remove cookies from |list| not matching |filter|, and pass it to |callback|.
|
||||
void FilterCookies(std::unique_ptr<base::DictionaryValue> filter,
|
||||
util::Promise promise,
|
||||
const net::CookieList& list) {
|
||||
const net::CookieList& list,
|
||||
const net::CookieStatusList& excluded_list) {
|
||||
net::CookieList result;
|
||||
for (const auto& cookie : list) {
|
||||
if (MatchesCookie(filter.get(), cookie))
|
||||
|
||||
Reference in New Issue
Block a user