# Class TCefCookieManagerRef

Description
Hierarchy
Fields
Methods
Properties

## Unit

uCEFCookieManager

## Declaration

`type TCefCookieManagerRef = class(TCefBaseRefCountedRef, ICefCookieManager)`

## Description

This item has no description.

## Hierarchy

- TInterfacedObject
- TCefBaseRefCountedRef
- TCefCookieManagerRef

## Overview

### Methods

| `function VisitAllCookies(const visitor: ICefCookieVisitor): Boolean;`
| `function VisitAllCookiesProc(const visitor: TCefCookieVisitorProc): Boolean;`
| `function VisitUrlCookies(const url: ustring; includeHttpOnly: Boolean; const visitor: ICefCookieVisitor): Boolean;`
| `function VisitUrlCookiesProc(const url: ustring; includeHttpOnly: Boolean; const visitor: TCefCookieVisitorProc): Boolean;`
| `function SetCookie(const url, name, value, domain, path: ustring; secure, httponly, hasExpires: Boolean; const creation, lastAccess, expires: TDateTime; same_site : TCefCookieSameSite; priority : TCefCookiePriority; const callback: ICefSetCookieCallback): Boolean;`
| `function SetCookieProc(const url: ustring; const name, value, domain, path: ustring; secure, httponly, hasExpires: Boolean; const creation, lastAccess, expires: TDateTime; same_site : TCefCookieSameSite; priority : TCefCookiePriority; const callback: TCefSetCookieCallbackProc): Boolean;`
| `function DeleteCookies(const url, cookieName: ustring; const callback: ICefDeleteCookiesCallback): Boolean;`
| `function DeleteCookiesProc(const url, cookieName: ustring; const callback: TCefDeleteCookiesCallbackProc): Boolean;`
| `function FlushStore(const callback: ICefCompletionCallback): Boolean;`
| `function FlushStoreProc(const proc: TCefCompletionCallbackProc): Boolean;`
| `class function UnWrap(data: Pointer): ICefCookieManager;`
| `class function Global(const callback: ICefCompletionCallback): ICefCookieManager;`
| `class function GlobalProc(const callback: TCefCompletionCallbackProc): ICefCookieManager;`

## Description

### Methods

| `function VisitAllCookies(const visitor: ICefCookieVisitor): Boolean;`
This item has no description. Showing description inherited from ICefCookieManager.VisitAllCookies. Visit all cookies on the UI thread. The returned cookies are ordered by longest path, then by earliest creation date. Returns false (0) if cookies cannot be accessed.

| `function VisitAllCookiesProc(const visitor: TCefCookieVisitorProc): Boolean;`
This item has no description.

| `function VisitUrlCookies(const url: ustring; includeHttpOnly: Boolean; const visitor: ICefCookieVisitor): Boolean;`
This item has no description. Showing description inherited from ICefCookieManager.VisitUrlCookies. Visit a subset of cookies on the UI thread. The results are filtered by the given url scheme, host, domain and path. If |includeHttpOnly| is true (1) HTTP-only cookies will also be included in the results. The returned cookies are ordered by longest path, then by earliest creation date. Returns false (0) if cookies cannot be accessed.

| `function VisitUrlCookiesProc(const url: ustring; includeHttpOnly: Boolean; const visitor: TCefCookieVisitorProc): Boolean;`
This item has no description.

| `function SetCookie(const url, name, value, domain, path: ustring; secure, httponly, hasExpires: Boolean; const creation, lastAccess, expires: TDateTime; same_site : TCefCookieSameSite; priority : TCefCookiePriority; const callback: ICefSetCookieCallback): Boolean;`
This item has no description. Showing description inherited from ICefCookieManager.SetCookie. Sets a cookie given a valid URL and explicit user-provided cookie attributes. This function expects each attribute to be well-formed. It will check for disallowed characters (e.g. the ';' character is disallowed within the cookie value attribute) and fail without setting the cookie if such characters are found. If |callback| is non-NULL it will be executed asnychronously on the UI thread after the cookie has been set. Returns false (0) if an invalid URL is specified or if cookies cannot be accessed.

| `function SetCookieProc(const url: ustring; const name, value, domain, path: ustring; secure, httponly, hasExpires: Boolean; const creation, lastAccess, expires: TDateTime; same_site : TCefCookieSameSite; priority : TCefCookiePriority; const callback: TCefSetCookieCallbackProc): Boolean;`
This item has no description.

| `function DeleteCookies(const url, cookieName: ustring; const callback: ICefDeleteCookiesCallback): Boolean;`
This item has no description. Showing description inherited from ICefCookieManager.DeleteCookies. Delete all cookies that match the specified parameters. If both |url| and |cookie_name| values are specified all host and domain cookies matching both will be deleted. If only |url| is specified all host cookies (but not domain cookies) irrespective of path will be deleted. If |url| is NULL all cookies for all hosts and domains will be deleted. If |callback| is non- NULL it will be executed asnychronously on the UI thread after the cookies have been deleted. Returns false (0) if a non-NULL invalid URL is specified or if cookies cannot be accessed. Cookies can alternately be deleted using the Visit*Cookies() functions.

| `function DeleteCookiesProc(const url, cookieName: ustring; const callback: TCefDeleteCookiesCallbackProc): Boolean;`
This item has no description.

| `function FlushStore(const callback: ICefCompletionCallback): Boolean;`
This item has no description. Showing description inherited from ICefCookieManager.FlushStore. Flush the backing store (if any) to disk. If |callback| is non-NULL it will be executed asnychronously on the UI thread after the flush is complete. Returns false (0) if cookies cannot be accessed.

| `function FlushStoreProc(const proc: TCefCompletionCallbackProc): Boolean;`
This item has no description.

| `class function UnWrap(data: Pointer): ICefCookieManager;`
This item has no description.

| `class function Global(const callback: ICefCompletionCallback): ICefCookieManager;`
This item has no description.

| `class function GlobalProc(const callback: TCefCompletionCallbackProc): ICefCookieManager;`
This item has no description.

Generated by PasDoc 0.16.0-snapshot.