mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 12:09:40 +00:00
ICookieManager - Update xml doc (methods are executed on UI thread now)
This commit is contained in:
@@ -14,12 +14,12 @@ namespace CefSharp
|
||||
/// <summary>
|
||||
/// Deletes all cookies that matches all the provided parameters. If both <paramref name="url"/> and <paramref name="name"/> are empty, all cookies will be deleted.
|
||||
/// Cookies can alternately be deleted using the Visit*Cookies() methods.
|
||||
/// This method will be executed on the CEF IO thread in an async fashion, to be notified upon completion implement <see cref="IDeleteCookiesCallback"/>
|
||||
/// This method will be executed on the CEF UI thread in an async fashion, to be notified upon completion implement <see cref="IDeleteCookiesCallback"/>
|
||||
/// and pass in as <paramref name="callback"/>
|
||||
/// </summary>
|
||||
/// <param name="url">The cookie URL. If an empty string is provided, any URL will be matched.</param>
|
||||
/// <param name="name">The name of the cookie. If an empty string is provided, any URL will be matched.</param>
|
||||
/// <param name="callback">If non-NULL it will be executed asnychronously on the CEF IO thread after the cookies have been deleted.</param>
|
||||
/// <param name="callback">If non-NULL it will be executed asnychronously on the CEF UI thread after the cookies have been deleted.</param>
|
||||
/// <returns>Returns false if a non-empty invalid URL is specified, or if cookies cannot be accessed; otherwise, true.</returns>
|
||||
bool DeleteCookies(string url = null, string name = null, IDeleteCookiesCallback callback = null);
|
||||
|
||||
@@ -27,12 +27,12 @@ namespace CefSharp
|
||||
/// 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 will return false without setting
|
||||
/// the cookie if such characters are found.
|
||||
/// This method will be executed on the CEF IO thread in an async fashion, to be notified upon completion implement <see cref="ISetCookieCallback"/>
|
||||
/// This method will be executed on the CEF UI thread in an async fashion, to be notified upon completion implement <see cref="ISetCookieCallback"/>
|
||||
/// and pass in as <paramref name="callback"/>
|
||||
/// </summary>
|
||||
/// <param name="url">The cookie URL</param>
|
||||
/// <param name="cookie">The cookie</param>
|
||||
/// <param name="callback">If non-NULL it will be executed asnychronously on the CEF IO thread after the cookie has been set.</param>
|
||||
/// <param name="callback">If non-NULL it will be executed asnychronously on the CEF UI thread after the cookie has been set.</param>
|
||||
/// <returns>returns false if the cookie cannot be set (e.g. if illegal charecters such as ';' are used); otherwise true.</returns>
|
||||
bool SetCookie(string url, Cookie cookie, ISetCookieCallback callback = null);
|
||||
|
||||
@@ -66,10 +66,10 @@ namespace CefSharp
|
||||
|
||||
/// <summary>
|
||||
/// Flush the backing store (if any) to disk
|
||||
/// This method will be executed on the CEF IO thread in an async fashion, to be notified upon completion implement <see cref="ICompletionCallback"/>
|
||||
/// This method will be executed on the CEF UI thread in an async fashion, to be notified upon completion implement <see cref="ICompletionCallback"/>
|
||||
/// and pass in as <paramref name="callback"/>
|
||||
/// </summary>
|
||||
/// <param name="callback">If non-NULL it will be executed asnychronously on the CEF IO thread after the flush is complete.</param>
|
||||
/// <param name="callback">If non-NULL it will be executed asnychronously on the CEF UI thread after the flush is complete.</param>
|
||||
/// <returns>Returns false if cookies cannot be accessed.</returns>
|
||||
bool FlushStore(ICompletionCallback callback);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user