| LEFT | RIGHT |
| 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 |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 | 325 |
| 326 explicit JsEngine(TimerPtr timer, FileSystemPtr fileSystem, WebRequestPtr we
bRequest); | 326 explicit JsEngine(TimerPtr timer, FileSystemPtr fileSystem, WebRequestPtr we
bRequest); |
| 327 | 327 |
| 328 JsValue GetGlobalObject(); | 328 JsValue GetGlobalObject(); |
| 329 | 329 |
| 330 /// Isolate must be disposed only after disposing of all objects which are | 330 /// Isolate must be disposed only after disposing of all objects which are |
| 331 /// using it. | 331 /// using it. |
| 332 ScopedV8Isolate isolate; | 332 ScopedV8Isolate isolate; |
| 333 | 333 |
| 334 FileSystemPtr fileSystem; | 334 FileSystemPtr fileSystem; |
| 335 FileSystemSyncPtr fileSystemLegacy; | |
| 336 LogSystemPtr logSystem; | 335 LogSystemPtr logSystem; |
| 337 std::unique_ptr<v8::Global<v8::Context>> context; | 336 std::unique_ptr<v8::Global<v8::Context>> context; |
| 338 EventMap eventCallbacks; | 337 EventMap eventCallbacks; |
| 339 std::mutex eventCallbacksMutex; | 338 std::mutex eventCallbacksMutex; |
| 340 JsWeakValuesLists jsWeakValuesLists; | 339 JsWeakValuesLists jsWeakValuesLists; |
| 341 std::mutex jsWeakValuesListsMutex; | 340 std::mutex jsWeakValuesListsMutex; |
| 342 TimerPtr timer; | 341 TimerPtr timer; |
| 343 WebRequestPtr webRequest; | 342 WebRequestPtr webRequest; |
| 344 WebRequestSharedPtr webRequestLegacy; | 343 WebRequestSharedPtr webRequestLegacy; |
| 345 }; | 344 }; |
| 346 } | 345 } |
| 347 | 346 |
| 348 #endif | 347 #endif |
| LEFT | RIGHT |