private int can_get_cookie(cef_resource_handler_t *self, cef_cookie_t *cookie)
        {
            CheckSelf(self);

            var m_cookie = CefCookie.FromNative(cookie);

            return(CanGetCookie(m_cookie) ? 1 : 0);
        }
        private int visit(cef_cookie_visitor_t *self, cef_cookie_t *cookie, int count, int total, int *deleteCookie)
        {
            CheckSelf(self);

            var  mCookie = CefCookie.FromNative(cookie);
            bool mDelete;

            var result = Visit(mCookie, count, total, out mDelete);

            *deleteCookie = mDelete ? 1 : 0;
            return(result ? 1 : 0);
        }