mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
24 lines
506 B
C++
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);
|
|
};
|
|
} |