[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/2php/cefpython/cefpython58/src/client_handler/cookie_visitor.h [Back]  [Original]

// 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 
#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);
};

Web Proxy Viewer  |  New URL  |  Original Page