Change signature of GetCookieListCallback to include list of excluded cookies

https://chromium-review.googlesource.com/c/chromium/src/+/1416151
This commit is contained in:
deepak1556 2019-02-21 22:34:39 +05:30 committed by Samuel Attard
parent ccd4a3c80c
commit 43361164e8

View file

@ -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))