Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: src/GlobalJsObject.h

Issue 10184021: Some refactoring of global JavaScript objects (Closed)
Patch Set: Unbitrotted patch Created April 16, 2013, 3:32 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/FileSystemJsObject.cpp ('k') | src/GlobalJsObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <v8.h> 4 #include <v8.h>
5 5
6 namespace AdblockPlus 6 namespace AdblockPlus
7 { 7 {
8 class FileSystem; 8 class JsEngine;
9 class WebRequest;
10 class ErrorCallback;
11 9
12 namespace GlobalJsObject 10 namespace GlobalJsObject
13 { 11 {
14 v8::Handle<v8::ObjectTemplate> Create(FileSystem& fileSystem, 12 v8::Handle<v8::ObjectTemplate> Create(JsEngine& jsEngine);
15 WebRequest& webRequest,
16 ErrorCallback& errorCallback);
17 } 13 }
18 } 14 }
19 15
20 #endif 16 #endif
OLDNEW
« no previous file with comments | « src/FileSystemJsObject.cpp ('k') | src/GlobalJsObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld