Lines Matching defs:cookies
20 #include "net/cookies/canonical_cookie.h"
21 #include "net/cookies/cookie_monster.h"
22 #include "net/cookies/cookie_options.h"
23 #include "net/cookies/cookie_store.h"
35 // Callback for retrieving Google Wallet cookies. |callback| is passed the
36 // retrieved cookies and posted back to the UI thread. |cookies| is any Google
37 // Wallet cookies.
40 const net::CookieList& cookies) {
43 // Cookies for parent domains will also be returned; we only want cookies with
47 for (size_t i = 0; i < cookies.size(); ++i) {
48 if (LowerCaseEqualsASCII(cookies[i].Name(), kWalletCookieName) &&
49 LowerCaseEqualsASCII(cookies[i].Domain(), host.c_str())) {
50 wallet_cookie = cookies[i].Value();
59 // Gets Google Wallet cookies. Must be called on the IO thread.
61 // |callback| is called when retrieving cookies is completed.