OLD | NEW |
1 #ifndef ADBLOCK_PLUS_GLOBAL_JS_OBJECT_H | 1 #ifndef ADBLOCK_PLUS_GLOBAL_JS_OBJECT_H |
2 #define ADBLOCK_PLUS_GLOBAL_JS_OBJECT_H | 2 #define ADBLOCK_PLUS_GLOBAL_JS_OBJECT_H |
3 | 3 |
4 #include "ConsoleJsObject.h" | 4 #include <v8.h> |
5 | 5 |
6 namespace AdblockPlus | 6 namespace AdblockPlus |
7 { | 7 { |
| 8 class ErrorCallback; |
| 9 class WebRequest; |
| 10 |
8 namespace GlobalJsObject | 11 namespace GlobalJsObject |
9 { | 12 { |
10 v8::Handle<v8::ObjectTemplate> Create(ErrorCallback& errorCallback); | 13 v8::Handle<v8::ObjectTemplate> Create(ErrorCallback& errorCallback, |
| 14 WebRequest& webRequest); |
11 } | 15 } |
12 } | 16 } |
13 | 17 |
14 #endif | 18 #endif |
OLD | NEW |