Lines Matching full:cookie
35 // The cookie monster is the system for storing and retrieving cookies. It has
43 // TODO(deanm) Implement CookieMonster, the cookie database.
78 // cookies. If the domain of the cookie has an eTLD+1, that is the
79 // key for the map. If the domain of the cookie does not have an eTLD+1,
80 // the key of the map is the host the cookie applies to (it is not
86 // then the key is just the domain of the cookie. Eventually, this
115 // this class, but it must remain valid for the duration of the cookie
126 // Parses the string with the cookie time (very forgivingly).
129 // Returns true if a domain string represents a host-only cookie,
133 // Sets a cookie given explicit user-provided cookie attributes. The cookie
137 // cookie value attribute) and will return false without setting the cookie
182 // Deletes one specific cookie.
183 bool DeleteCanonicalCookie(const CanonicalCookie& cookie);
186 // this cookie store. Calling his overrides the value of
197 // Instructs the cookie monster to not delete expired cookies. This is used
198 // in cases where the cookie monster is used as a data structure to keep
245 // The default list of schemes the cookie monster can handle.
296 // A common idiom is to remove a cookie by overwriting it with an
303 // Cookie garbage collection thresholds. Based off of the Mozilla defaults.
387 // return value with be true if |skip_httponly| skipped an httponly cookie.
388 // |key| is the key to find the cookie in cookies_; see the comment before
390 // NOTE: There should never be more than a single matching equivalent cookie.
410 // Helper function that sets a canonical cookie, deleting equivalents and
486 // Indicates whether the cookie store has been initialized. This happens
490 // Indicates whether this cookie monster uses the new effective domain
498 // Minimum delay after updating a cookie's LastAccessDate before we will
502 // Approximate date of access time of least recently accessed cookie
558 // Creates a canonical cookie from unparsed attribute values.
620 // Returns the cookie source when cookies are set for |url|. This function
625 // The source member of a canonical cookie is the origin of the URL that tried
626 // to set this cookie, minus the port number if any. This field is not
649 // The publicly relevant reasons a cookie might be changed.
651 // The cookie was changed directly by a consumer's action.
653 // The cookie was automatically removed due to an insert operation that
656 // The cookie was automatically removed as it expired.
658 // The cookie was automatically evicted during garbage collection.
660 // The cookie was overwritten with an already-expired expiration date.
664 // Will be called when a cookie is added or removed. The function is passed
665 // the respective |cookie| which was added to or removed from the cookies.
666 // If |removed| is true, the cookie was deleted, and |cause| will be set
667 // to the reason for it's removal. If |removed| is false, the cookie was
670 // As a special case, note that updating a cookie's properties is implemented
671 // as a two step process: the cookie to be updated is first removed entirely,
673 // a new cookie is written with the updated values, generating a notification
675 virtual void OnCookieChanged(const CookieMonster::CanonicalCookie& cookie,
688 // The maximum length of a cookie string we will try to parse
693 // Construct from a cookie string like "BLAH=1; path=/; domain=.google.com"
728 // positions of a cookie attribute token name parsed from the segment, and
738 // positions of a cookie attribute value parsed from the segment, and updates