OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # distutils: language = c++ | 5 # distutils: language = c++ |
6 | 6 |
7 from libc.stdint cimport int64_t | 7 from libc.stdint cimport int64_t |
8 | 8 |
9 cimport c_async_waiter | 9 cimport c_async_waiter |
10 | 10 |
11 cdef extern from "mojo/python/content_handler/python_system_impl_helper.h" \ | 11 cdef extern from "services/python/content_handler/python_system_impl_helper.h" \ |
12 namespace "mojo::python" nogil: | 12 namespace "services::python::content_handler" nogil: |
13 cdef cppclass PythonRunLoop "mojo::python::PythonRunLoop": | 13 cdef cppclass PythonRunLoop \ |
| 14 "services::python::content_handler::PythonRunLoop": |
14 PythonRunLoop() | 15 PythonRunLoop() |
15 void Run() | 16 void Run() |
16 void RunUntilIdle() | 17 void RunUntilIdle() |
17 void Quit() | 18 void Quit() |
18 void PostDelayedTask(object, int64_t) | 19 void PostDelayedTask(object, int64_t) |
19 cdef c_async_waiter.PythonAsyncWaiter* NewAsyncWaiter() | 20 cdef c_async_waiter.PythonAsyncWaiter* NewAsyncWaiter() |
20 | 21 |
21 | 22 |
OLD | NEW |