forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcookie_visitor.h
More file actions
31 lines (25 loc) · 688 Bytes
/
cookie_visitor.h
File metadata and controls
31 lines (25 loc) · 688 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (c) 2014 CEF Python, see the Authors file.
// All rights reserved. Licensed under BSD 3-clause license.
// Project website: https://github.com/cztomczak/cefpython
#pragma once
#if defined(_WIN32)
#include <stdint.h>
#endif
#include "common/cefpython_public_api.h"
class CookieVisitor : public CefCookieVisitor
{
public:
int cookieVisitorId_;
public:
CookieVisitor(int cookieVisitorId)
: cookieVisitorId_(cookieVisitorId) {
}
virtual bool Visit(
const CefCookie& cookie,
int count,
int total,
bool& deleteCookie
) override;
protected:
IMPLEMENT_REFCOUNTING(CookieVisitor);
};