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
32 lines (26 loc) · 725 Bytes
/
cookie_visitor.h
File metadata and controls
32 lines (26 loc) · 725 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
32
// Copyright (c) 2012-2014 The CEF Python authors. All rights reserved.
// License: New BSD License.
// Website: http://code.google.com/p/cefpython/
#pragma once
#if defined(_WIN32)
#include "../windows/stdint.h"
#endif
#include "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:
// Include the default reference counting implementation.
IMPLEMENT_REFCOUNTING(CookieVisitor);
};