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

Unified Diff: include/AdblockPlus/JsEngine.h

Issue 10198022: Pass application data into libadblockplus (Closed)
Patch Set: Merged upstream, addressed issues, renamed AppInfo fields Created April 17, 2013, 2:47 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: include/AdblockPlus/JsEngine.h
===================================================================
--- a/include/AdblockPlus/JsEngine.h
+++ b/include/AdblockPlus/JsEngine.h
@@ -8,6 +8,7 @@
namespace AdblockPlus
{
+ struct AppInfo;
class FileSystem;
class WebRequest;
class ErrorCallback;
@@ -24,7 +25,8 @@
friend class JsValue;
public:
- JsEngine(FileSystem* const fileReader,
+ JsEngine(const AppInfo& appInfo,
+ FileSystem* const fileReader,
WebRequest* const webRequest,
ErrorCallback* const errorCallback);
JsValuePtr Evaluate(const std::string& source,
« no previous file with comments | « include/AdblockPlus/AppInfo.h ('k') | lib/info.js » ('j') | src/AppInfoJsObject.cpp » ('J')

Powered by Google App Engine
This is Rietveld