Files
lserp_cs_5.0/插件库/CommonLib/Cef3.24/Classes.Handlers/CefDeleteCookiesCallback.cs
T
2026-07-10 15:25:05 +08:00

28 lines
834 B
C#

namespace Cef3
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.InteropServices;
using Cef3.Interop;
/// <summary>
/// Interface to implement to be notified of asynchronous completion via
/// CefCookieManager::DeleteCookies().
/// </summary>
public abstract unsafe partial class CefDeleteCookiesCallback
{
private void on_complete(cef_delete_cookies_callback_t* self, int num_deleted)
{
CheckSelf(self);
OnComplete(num_deleted);
}
/// <summary>
/// Method that will be called upon completion. |num_deleted| will be the
/// number of cookies that were deleted or -1 if unknown.
/// </summary>
protected abstract void OnComplete(int numDeleted);
}
}