28 lines
834 B
C#
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);
|
|
}
|
|
}
|