Change signature of GetCookieListCallback to include list of excluded cookies
1416151
This commit is contained in:
parent
ccd4a3c80c
commit
43361164e8
1 changed files with 2 additions and 1 deletions
|
@ -139,7 +139,8 @@ inline net::CookieStore* GetCookieStore(
|
||||||
// Remove cookies from |list| not matching |filter|, and pass it to |callback|.
|
// Remove cookies from |list| not matching |filter|, and pass it to |callback|.
|
||||||
void FilterCookies(std::unique_ptr<base::DictionaryValue> filter,
|
void FilterCookies(std::unique_ptr<base::DictionaryValue> filter,
|
||||||
util::Promise promise,
|
util::Promise promise,
|
||||||
const net::CookieList& list) {
|
const net::CookieList& list,
|
||||||
|
const net::CookieStatusList& excluded_list) {
|
||||||
net::CookieList result;
|
net::CookieList result;
|
||||||
for (const auto& cookie : list) {
|
for (const auto& cookie : list) {
|
||||||
if (MatchesCookie(filter.get(), cookie))
|
if (MatchesCookie(filter.get(), cookie))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue