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: Created April 12, 2013, 1:23 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
@@ -7,6 +7,7 @@
namespace AdblockPlus
{
+ struct AppInfo;
class ErrorCallback;
class FileReader;
class WebRequest;
@@ -21,7 +22,8 @@
class JsEngine
{
public:
- JsEngine(const FileReader* const fileReader,
+ JsEngine(const AppInfo& appInfo,
+ const FileReader* const fileReader,
WebRequest* const webRequest,
ErrorCallback* const errorCallback);
std::string Evaluate(const std::string& source,

Powered by Google App Engine
This is Rietveld