Files
cefsharp/CefSharp/CookieVisitor.h

24 lines
506 B
C++

#include "Stdafx.h"
#pragma once
#include "include/cef_cookie.h"
#include "ICookieVisitor.h"
namespace CefSharp
{
public class CookieVisitor : public CefCookieVisitor
{
private:
gcroot<ICookieVisitor^> _visitor;
public:
CookieVisitor(ICookieVisitor^ visitor)
{
_visitor = visitor;
}
virtual bool Visit(const CefCookie& cookie, int count, int total, bool& deleteCookie) OVERRIDE;
IMPLEMENT_REFCOUNTING(CookieVisitor);
};
}