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

Unified Diff: include/AdblockPlus/JsEngine.h

Issue 10296001: Implement File API (Closed)
Patch Set: Addressed the new issues Created April 16, 2013, 1:37 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
« no previous file with comments | « include/AdblockPlus/FilterEngine.h ('k') | include/AdblockPlus/tr1_memory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/AdblockPlus/JsEngine.h
===================================================================
--- a/include/AdblockPlus/JsEngine.h
+++ b/include/AdblockPlus/JsEngine.h
@@ -7,9 +7,9 @@
namespace AdblockPlus
{
+ class FileSystem;
+ class WebRequest;
class ErrorCallback;
- class FileReader;
- class WebRequest;
class JsError : public std::runtime_error
{
@@ -21,7 +21,7 @@
class JsEngine
{
public:
- JsEngine(const FileReader* const fileReader,
+ JsEngine(FileSystem* const fileReader,
WebRequest* const webRequest,
ErrorCallback* const errorCallback);
std::string Evaluate(const std::string& source,
@@ -30,7 +30,7 @@
void Gc();
private:
- const FileReader* const fileReader;
+ const FileSystem* const fileSystem;
v8::Persistent<v8::Context> context;
};
}
« no previous file with comments | « include/AdblockPlus/FilterEngine.h ('k') | include/AdblockPlus/tr1_memory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld