From 581fa04ef74a248ae53a49ea3c2c79aff31c73a1 Mon Sep 17 00:00:00 2001 From: amaitland Date: Tue, 23 Jul 2019 20:45:24 +1000 Subject: [PATCH] ICookieManager - Update xml doc (methods are executed on UI thread now) --- CefSharp/ICookieManager.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CefSharp/ICookieManager.cs b/CefSharp/ICookieManager.cs index 4e904cb85..f453bae75 100644 --- a/CefSharp/ICookieManager.cs +++ b/CefSharp/ICookieManager.cs @@ -14,12 +14,12 @@ namespace CefSharp /// /// Deletes all cookies that matches all the provided parameters. If both and 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 + /// This method will be executed on the CEF UI thread in an async fashion, to be notified upon completion implement /// and pass in as /// /// The cookie URL. If an empty string is provided, any URL will be matched. /// The name of the cookie. If an empty string is provided, any URL will be matched. - /// If non-NULL it will be executed asnychronously on the CEF IO thread after the cookies have been deleted. + /// If non-NULL it will be executed asnychronously on the CEF UI thread after the cookies have been deleted. /// Returns false if a non-empty invalid URL is specified, or if cookies cannot be accessed; otherwise, true. 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 + /// This method will be executed on the CEF UI thread in an async fashion, to be notified upon completion implement /// and pass in as /// /// The cookie URL /// The cookie - /// If non-NULL it will be executed asnychronously on the CEF IO thread after the cookie has been set. + /// If non-NULL it will be executed asnychronously on the CEF UI thread after the cookie has been set. /// returns false if the cookie cannot be set (e.g. if illegal charecters such as ';' are used); otherwise true. bool SetCookie(string url, Cookie cookie, ISetCookieCallback callback = null); @@ -66,10 +66,10 @@ namespace CefSharp /// /// 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 + /// This method will be executed on the CEF UI thread in an async fashion, to be notified upon completion implement /// and pass in as /// - /// If non-NULL it will be executed asnychronously on the CEF IO thread after the flush is complete. + /// If non-NULL it will be executed asnychronously on the CEF UI thread after the flush is complete. /// Returns false if cookies cannot be accessed. bool FlushStore(ICompletionCallback callback);