namespace Cef3 { using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.InteropServices; using Cef3.Interop; /// /// Interface to implement to be notified of asynchronous completion via /// CefCookieManager::SetCookie(). /// public abstract unsafe partial class CefSetCookieCallback { private void on_complete(cef_set_cookie_callback_t* self, int success) { CheckSelf(self); OnComplete(success != 0); } /// /// Method that will be called upon completion. |success| will be true if the /// cookie was set successfully. /// protected abstract void OnComplete(bool success); } }