forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtask.pxd
More file actions
30 lines (24 loc) · 1.05 KB
/
task.pxd
File metadata and controls
30 lines (24 loc) · 1.05 KB
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
# 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
from cef_ptr cimport CefRefPtr
# noinspection PyUnresolvedReferences
from cef_task cimport CefTask
from cef_string cimport CefString
from cef_cookie cimport CefCookie, CefCookieManager
# noinspection PyUnresolvedReferences
from cef_cookie cimport CefSetCookieCallback, CefDeleteCookiesCallback
# noinspection PyUnresolvedReferences
from libcpp cimport bool as cpp_bool
cdef extern from "client_handler/task.h":
void PostTaskWrapper(int threadId, int taskId) nogil
cdef CefRefPtr[CefTask] CreateTask_SetCookie(
CefCookieManager* obj,
const CefString& url,
const CefCookie& cookie,
CefRefPtr[CefSetCookieCallback] callback)
cdef CefRefPtr[CefTask] CreateTask_DeleteCookies(
CefCookieManager* obj,
const CefString& url,
const CefString& cookie_name,
CefRefPtr[CefDeleteCookiesCallback] callback)