OLD | NEW |
1 /* | 1 /* |
2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
3 * Copyright (C) 2006-2017 eyeo GmbH | 3 * Copyright (C) 2006-2017 eyeo GmbH |
4 * | 4 * |
5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
8 * | 8 * |
9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 * GNU General Public License for more details. | 12 * GNU General Public License for more details. |
13 * | 13 * |
14 * You should have received a copy of the GNU General Public License | 14 * You should have received a copy of the GNU General Public License |
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
16 */ | 16 */ |
17 | 17 |
18 #ifndef ADBLOCK_PLUS_JS_ENGINE_H | 18 #ifndef ADBLOCK_PLUS_JS_ENGINE_H |
19 #define ADBLOCK_PLUS_JS_ENGINE_H | 19 #define ADBLOCK_PLUS_JS_ENGINE_H |
20 | 20 |
21 #include <functional> | 21 #include <functional> |
22 #include <map> | 22 #include <map> |
23 #include <list> | 23 #include <list> |
24 #include <stdexcept> | 24 #include <stdexcept> |
25 #include <stdint.h> | 25 #include <stdint.h> |
26 #include <string> | 26 #include <string> |
27 #include <mutex> | 27 #include <mutex> |
28 #include <AdblockPlus/AppInfo.h> | 28 #include <AdblockPlus/AppInfo.h> |
29 #include <AdblockPlus/LogSystem.h> | 29 #include <AdblockPlus/LogSystem.h> |
30 #include <AdblockPlus/FileSystem.h> | 30 #include <AdblockPlus/IFileSystem.h> |
31 #include <AdblockPlus/JsValue.h> | 31 #include <AdblockPlus/JsValue.h> |
32 #include <AdblockPlus/IWebRequest.h> | 32 #include <AdblockPlus/IWebRequest.h> |
33 #include <AdblockPlus/ITimer.h> | 33 #include <AdblockPlus/ITimer.h> |
34 | 34 |
35 namespace v8 | 35 namespace v8 |
36 { | 36 { |
37 class Isolate; | 37 class Isolate; |
38 class Value; | 38 class Value; |
39 class Context; | 39 class Context; |
40 template<typename T> class FunctionCallbackInfo; | 40 template<typename T> class FunctionCallbackInfo; |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 EventMap eventCallbacks; | 317 EventMap eventCallbacks; |
318 std::mutex eventCallbacksMutex; | 318 std::mutex eventCallbacksMutex; |
319 JsWeakValuesLists jsWeakValuesLists; | 319 JsWeakValuesLists jsWeakValuesLists; |
320 std::mutex jsWeakValuesListsMutex; | 320 std::mutex jsWeakValuesListsMutex; |
321 TimerPtr timer; | 321 TimerPtr timer; |
322 WebRequestPtr webRequest; | 322 WebRequestPtr webRequest; |
323 }; | 323 }; |
324 } | 324 } |
325 | 325 |
326 #endif | 326 #endif |
OLD | NEW |