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

Side by Side Diff: src/GlobalJsObject.h

Issue 10198022: Pass application data into libadblockplus (Closed)
Patch Set: Created April 12, 2013, 1:23 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
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 struct AppInfo;
8 class ErrorCallback; 9 class ErrorCallback;
9 class WebRequest; 10 class WebRequest;
10 11
11 namespace GlobalJsObject 12 namespace GlobalJsObject
12 { 13 {
13 v8::Handle<v8::ObjectTemplate> Create(ErrorCallback& errorCallback, 14 v8::Handle<v8::ObjectTemplate> Create(const AppInfo& appInfo,
14 WebRequest& webRequest); 15 ErrorCallback& errorCallback, WebRequest& webRequest);
15 } 16 }
16 } 17 }
17 18
18 #endif 19 #endif
OLDNEW
« lib/info.js ('K') | « src/AppInfoJsObject.cpp ('k') | src/GlobalJsObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld