| Index: chrome/browser/extensions/extension_cookies_helpers.cc
|
| diff --git a/chrome/browser/extensions/extension_cookies_helpers.cc b/chrome/browser/extensions/extension_cookies_helpers.cc
|
| index ed881e21d1d24cda55f4461099e087b4490b7033..903e89e30543c9a8bbdeefdf38b3260968e8d003 100644
|
| --- a/chrome/browser/extensions/extension_cookies_helpers.cc
|
| +++ b/chrome/browser/extensions/extension_cookies_helpers.cc
|
| @@ -94,12 +94,11 @@ GURL GetURLFromCookiePair(
|
| }
|
|
|
| void AppendMatchingCookiesToList(
|
| - net::CookieStore* cookie_store, const std::string& store_id,
|
| + const net::CookieMonster::CookieList& all_cookies,
|
| + const std::string& store_id,
|
| const GURL& url, const DictionaryValue* details,
|
| const Extension* extension,
|
| ListValue* match_list) {
|
| - net::CookieMonster::CookieList all_cookies = GetCookieListFromStore(
|
| - cookie_store, url);
|
| net::CookieMonster::CookieList::const_iterator it;
|
| for (it = all_cookies.begin(); it != all_cookies.end(); ++it) {
|
| // Ignore any cookie whose domain doesn't match the extension's
|
|
|