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.03 KB
/
task.pxd
File metadata and controls
30 lines (24 loc) · 1.03 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) 2012-2014 The CEF Python authors. All rights reserved.
# License: New BSD License.
# Website: http://code.google.com/p/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)