123456789101112131415161718192021222324252627 |
- namespace Xilium.CefGlue
- {
- using System;
- using System.Collections.Generic;
- using System.Diagnostics;
- using System.Runtime.InteropServices;
- using Xilium.CefGlue.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.
- /// </summary>
- protected abstract void OnComplete(int numDeleted);
- }
- }
|