• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/WebCore-7600.1.25/platform/network/soup/

Lines Matching refs:cookie

77         SoupCookie* cookie = static_cast<SoupCookie*>(iter->data);
78 if (!strcmp(soup_cookie_get_name(cookie), name)
79 && !g_strcmp0(soup_cookie_get_path(cookie), path)) {
80 if (soup_cookie_get_http_only(cookie))
104 GUniquePtr<SoupCookie> cookie(soup_cookie_parse(cookies[i].utf8().data(), origin.get()));
105 if (!cookie)
108 // Make sure the cookie is not httpOnly since such cookies should not be set from JavaScript.
109 if (soup_cookie_get_http_only(cookie.get()))
113 if (httpOnlyCookieExists(existingCookies, soup_cookie_get_name(cookie.get()), soup_cookie_get_path(cookie.get())))
116 soup_cookie_jar_add_cookie_with_first_party(jar, firstPartyURI.get(), cookie.release());
161 SoupCookie* cookie = static_cast<SoupCookie*>(iter->data);
162 rawCookies.append(Cookie(String::fromUTF8(cookie->name), String::fromUTF8(cookie->value), String::fromUTF8(cookie->domain),
163 String::fromUTF8(cookie->path), cookie->expires ? static_cast<double>(soup_date_to_time_t(cookie->expires)) * 1000 : 0,
164 cookie->http_only, cookie->secure, !cookie->expires));
165 soup_cookie_free(cookie);
185 SoupCookie* cookie = static_cast<SoupCookie*>(iter->data);
186 if (!wasDeleted && cookieName == cookie->name) {
187 soup_cookie_jar_delete_cookie(jar, cookie);
190 soup_cookie_free(cookie);
199 SoupCookie* cookie = static_cast<SoupCookie*>(item->data);
200 if (cookie->domain)
201 hostnames.add(String::fromUTF8(cookie->domain));
202 soup_cookie_free(cookie);
212 SoupCookie* cookie = static_cast<SoupCookie*>(item->data);
213 if (soup_cookie_domain_matches(cookie, hostNameString.data()))
214 soup_cookie_jar_delete_cookie(cookieJar, cookie);
215 soup_cookie_free(cookie);
224 SoupCookie* cookie = static_cast<SoupCookie*>(item->data);
225 soup_cookie_jar_delete_cookie(cookieJar, cookie);
226 soup_cookie_free(cookie);