Searched defs:cookie (Results 1 - 25 of 255) sorted by relevance

1234567891011

/external/chromium_org/chrome/browser/browsing_data/
H A Dcanonical_cookie_hash.cc11 size_t FastHash(const net::CanonicalCookie& cookie) { argument
12 return base::SuperFastHash(cookie.Name().c_str(), cookie.Name().size()) +
13 3 * base::SuperFastHash(cookie.Domain().c_str(),
14 cookie.Domain().size()) +
15 7 * base::SuperFastHash(cookie.Path().c_str(), cookie.Path().size());
/external/apache-http/src/org/apache/http/impl/cookie/
H A DAbstractCookieAttributeHandler.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/AbstractCookieAttributeHandler.java $
31 package org.apache.http.impl.cookie;
33 import org.apache.http.cookie.Cookie;
34 import org.apache.http.cookie.CookieAttributeHandler;
35 import org.apache.http.cookie.CookieOrigin;
36 import org.apache.http.cookie.MalformedCookieException;
46 public void validate(final Cookie cookie, final CookieOrigin origin) argument
51 public boolean match(final Cookie cookie, final CookieOrigin origin) { argument
H A DBasicCommentHandler.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicCommentHandler.java $
31 package org.apache.http.impl.cookie;
33 import org.apache.http.cookie.MalformedCookieException;
34 import org.apache.http.cookie.SetCookie;
48 public void parse(final SetCookie cookie, final String value) argument
50 if (cookie == null) {
53 cookie.setComment(value);
H A DBasicExpiresHandler.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicExpiresHandler.java $
31 package org.apache.http.impl.cookie;
33 import org.apache.http.cookie.MalformedCookieException;
34 import org.apache.http.cookie.SetCookie;
55 public void parse(final SetCookie cookie, final String value) argument
57 if (cookie == null) {
64 cookie.setExpiryDate(DateUtils.parseDate(value, this.datepatterns));
H A DBasicMaxAgeHandler.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicMaxAgeHandler.java $
31 package org.apache.http.impl.cookie;
35 import org.apache.http.cookie.MalformedCookieException;
36 import org.apache.http.cookie.SetCookie;
50 public void parse(final SetCookie cookie, final String value) argument
52 if (cookie == null) {
69 cookie.setExpiryDate(new Date(System.currentTimeMillis() + age * 1000L));
H A DBasicDomainHandler.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicDomainHandler.java $
31 package org.apache.http.impl.cookie;
33 import org.apache.http.cookie.Cookie;
34 import org.apache.http.cookie.CookieAttributeHandler;
35 import org.apache.http.cookie.CookieOrigin;
36 import org.apache.http.cookie.MalformedCookieException;
37 import org.apache.http.cookie.SetCookie;
51 public void parse(final SetCookie cookie, final String value) argument
53 if (cookie == null) {
62 cookie
65 validate(final Cookie cookie, final CookieOrigin origin) argument
107 match(final Cookie cookie, final CookieOrigin origin) argument
[all...]
H A DBasicPathHandler.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicPathHandler.java $
31 package org.apache.http.impl.cookie;
33 import org.apache.http.cookie.Cookie;
34 import org.apache.http.cookie.CookieAttributeHandler;
35 import org.apache.http.cookie.CookieOrigin;
36 import org.apache.http.cookie.MalformedCookieException;
37 import org.apache.http.cookie.SetCookie;
51 public void parse(final SetCookie cookie, String value) argument
53 if (cookie == null) {
59 cookie
62 validate(final Cookie cookie, final CookieOrigin origin) argument
71 match(final Cookie cookie, final CookieOrigin origin) argument
[all...]
H A DBasicSecureHandler.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicSecureHandler.java $
31 package org.apache.http.impl.cookie;
33 import org.apache.http.cookie.Cookie;
34 import org.apache.http.cookie.CookieOrigin;
35 import org.apache.http.cookie.MalformedCookieException;
36 import org.apache.http.cookie.SetCookie;
50 public void parse(final SetCookie cookie, final String value) argument
52 if (cookie == null) {
55 cookie.setSecure(true);
59 public boolean match(final Cookie cookie, fina argument
[all...]
H A DCookieSpecBase.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/CookieSpecBase.java $
32 package org.apache.http.impl.cookie;
40 import org.apache.http.cookie.Cookie;
41 import org.apache.http.cookie.CookieAttributeHandler;
42 import org.apache.http.cookie.CookieOrigin;
43 import org.apache.http.cookie.MalformedCookieException;
86 BasicClientCookie cookie = new BasicClientCookie(name, value);
87 cookie.setPath(getDefaultPath(origin));
88 cookie.setDomain(getDefaultDomain(origin));
96 cookie
108 validate(final Cookie cookie, final CookieOrigin origin) argument
121 match(final Cookie cookie, final CookieOrigin origin) argument
[all...]
H A DNetscapeDomainHandler.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/NetscapeDomainHandler.java $
31 package org.apache.http.impl.cookie;
36 import org.apache.http.cookie.Cookie;
37 import org.apache.http.cookie.CookieOrigin;
38 import org.apache.http.cookie.MalformedCookieException;
53 public void validate(final Cookie cookie, final CookieOrigin origin) argument
55 super.validate(cookie, origin);
58 String domain = cookie.getDomain();
66 + "\" violates the Netscape cookie specification for "
73 + "\" violates the Netscape cookie specificatio
97 match(Cookie cookie, CookieOrigin origin) argument
[all...]
H A DRFC2109DomainHandler.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2109DomainHandler.java $
31 package org.apache.http.impl.cookie;
35 import org.apache.http.cookie.Cookie;
36 import org.apache.http.cookie.CookieAttributeHandler;
37 import org.apache.http.cookie.CookieOrigin;
38 import org.apache.http.cookie.MalformedCookieException;
39 import org.apache.http.cookie.SetCookie;
53 public void parse(final SetCookie cookie, final String value) argument
55 if (cookie == null) {
64 cookie
67 validate(final Cookie cookie, final CookieOrigin origin) argument
117 match(final Cookie cookie, final CookieOrigin origin) argument
[all...]
H A DRFC2109VersionHandler.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2109VersionHandler.java $
31 package org.apache.http.impl.cookie;
33 import org.apache.http.cookie.Cookie;
34 import org.apache.http.cookie.CookieOrigin;
35 import org.apache.http.cookie.MalformedCookieException;
36 import org.apache.http.cookie.SetCookie;
50 public void parse(final SetCookie cookie, final String value) argument
52 if (cookie == null) {
62 cookie.setVersion(Integer.parseInt(value));
70 public void validate(final Cookie cookie, fina argument
[all...]
H A DRFC2965CommentUrlAttributeHandler.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2965CommentUrlAttributeHandler.java $
32 package org.apache.http.impl.cookie;
34 import org.apache.http.cookie.Cookie;
35 import org.apache.http.cookie.CookieAttributeHandler;
36 import org.apache.http.cookie.CookieOrigin;
37 import org.apache.http.cookie.MalformedCookieException;
38 import org.apache.http.cookie.SetCookie;
39 import org.apache.http.cookie.SetCookie2;
42 * <tt>"CommantURL"</tt> cookie attribute handler for RFC 2965 cookie spe
55 parse(final SetCookie cookie, final String commenturl) argument
63 validate(final Cookie cookie, final CookieOrigin origin) argument
67 match(final Cookie cookie, final CookieOrigin origin) argument
[all...]
H A DRFC2965DiscardAttributeHandler.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2965DiscardAttributeHandler.java $
32 package org.apache.http.impl.cookie;
34 import org.apache.http.cookie.Cookie;
35 import org.apache.http.cookie.CookieAttributeHandler;
36 import org.apache.http.cookie.CookieOrigin;
37 import org.apache.http.cookie.MalformedCookieException;
38 import org.apache.http.cookie.SetCookie;
39 import org.apache.http.cookie.SetCookie2;
42 * <tt>"Discard"</tt> cookie attribute handler for RFC 2965 cookie spe
55 parse(final SetCookie cookie, final String commenturl) argument
63 validate(final Cookie cookie, final CookieOrigin origin) argument
67 match(final Cookie cookie, final CookieOrigin origin) argument
[all...]
H A DRFC2965DomainAttributeHandler.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2965DomainAttributeHandler.java $
32 package org.apache.http.impl.cookie;
36 import org.apache.http.cookie.ClientCookie;
37 import org.apache.http.cookie.Cookie;
38 import org.apache.http.cookie.CookieAttributeHandler;
39 import org.apache.http.cookie.CookieOrigin;
40 import org.apache.http.cookie.MalformedCookieException;
41 import org.apache.http.cookie.SetCookie;
44 * <tt>"Domain"</tt> cookie attribute handler for RFC 2965 cookie spe
64 parse(final SetCookie cookie, String domain) argument
114 validate(final Cookie cookie, final CookieOrigin origin) argument
179 match(final Cookie cookie, final CookieOrigin origin) argument
[all...]
H A DRFC2965PortAttributeHandler.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2965PortAttributeHandler.java $
32 package org.apache.http.impl.cookie;
36 import org.apache.http.cookie.ClientCookie;
37 import org.apache.http.cookie.Cookie;
38 import org.apache.http.cookie.CookieAttributeHandler;
39 import org.apache.http.cookie.CookieOrigin;
40 import org.apache.http.cookie.MalformedCookieException;
41 import org.apache.http.cookie.SetCookie;
42 import org.apache.http.cookie.SetCookie2;
45 * <tt>"Port"</tt> cookie attribut
110 parse(final SetCookie cookie, final String portValue) argument
128 validate(final Cookie cookie, final CookieOrigin origin) argument
152 match(final Cookie cookie, final CookieOrigin origin) argument
[all...]
H A DRFC2965VersionAttributeHandler.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2965VersionAttributeHandler.java $
32 package org.apache.http.impl.cookie;
34 import org.apache.http.cookie.ClientCookie;
35 import org.apache.http.cookie.Cookie;
36 import org.apache.http.cookie.CookieAttributeHandler;
37 import org.apache.http.cookie.CookieOrigin;
38 import org.apache.http.cookie.MalformedCookieException;
39 import org.apache.http.cookie.SetCookie;
40 import org.apache.http.cookie.SetCookie2;
43 * <tt>"Version"</tt> cookie attribut
59 parse(final SetCookie cookie, final String value) argument
83 validate(final Cookie cookie, final CookieOrigin origin) argument
97 match(final Cookie cookie, final CookieOrigin origin) argument
[all...]
/external/chromium_org/chrome/browser/net/
H A Dcookie_policy_browsertest.cc31 // Visits a page that sets a first-party cookie.
38 GURL url(test_server()->GetURL("set-cookie?cookie1"));
40 std::string cookie = content::GetCookies(browser()->profile(), url); local
41 ASSERT_EQ("", cookie);
45 cookie = content::GetCookies(browser()->profile(), url);
46 EXPECT_EQ("cookie1", cookie);
50 // a first-party cookie.
59 GURL redirected_url(test_server()->GetURL("set-cookie?cookie2"));
62 // third-party cookie blocking if the first party for cookies URL is not
70 std::string cookie local
[all...]
/external/apache-http/src/org/apache/http/cookie/
H A DCookieSpecFactory.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/CookieSpecFactory.java $
32 package org.apache.http.cookie;
H A DCookieAttributeHandler.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/CookieAttributeHandler.java $
31 package org.apache.http.cookie;
34 * Ths interface represents a cookie attribute handler responsible
35 * for parsing, validating, and matching a specific cookie attribute,
38 * Different cookie specifications can provide a specific
39 * implementation for this class based on their cookie handling
54 * Parse the given cookie attribute value and update the corresponding
55 * {@link org.apache.http.cookie.Cookie} property.
57 * @param cookie {@link org.apache.http.cookie
60 parse(SetCookie cookie, String value) argument
70 validate(Cookie cookie, CookieOrigin origin) argument
81 match(Cookie cookie, CookieOrigin origin) argument
[all...]
H A DCookiePathComparator.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/CookiePathComparator.java $
32 package org.apache.http.cookie;
38 * This cookie comparator ensures that multiple cookies satisfying
60 private String normalizePath(final Cookie cookie) { argument
61 String path = cookie.getPath();
H A DCookieSpec.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/CookieSpec.java $
32 package org.apache.http.cookie;
39 * Defines the cookie management specification.
61 * Returns version of the state management this cookie specification
77 * @param origin details of the cookie origin
84 * Validate the cookie according to validation rules defined by the
85 * cookie specification.
87 * @param cookie the Cookie to validate
88 * @param origin details of the cookie origin
89 * @throws MalformedCookieException if the cookie i
91 validate(Cookie cookie, CookieOrigin origin) argument
102 match(Cookie cookie, CookieOrigin origin) argument
[all...]
H A DCookieIdentityComparator.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/CookieIdentityComparator.java $
32 package org.apache.http.cookie;
38 * This cookie comparator can be used to compare identity of cookies.
H A DMalformedCookieException.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/MalformedCookieException.java $
32 package org.apache.http.cookie;
37 * Signals that a cookie is in some way invalid or illegal in a given
H A DSM.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/SM.java $
32 package org.apache.http.cookie;

Completed in 1078 milliseconds

1234567891011