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

Unified Diff: include/AdblockPlus/JsEngine.h

Issue 10085006: Implement setTimeout (Closed)
Patch Set: Created April 8, 2013, 1:07 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 | « no previous file | lib/compat.js » ('j') | src/GlobalJsObject.cpp » ('J')
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
@@ -5,11 +5,11 @@
#include <string>
#include <v8.h>
-class ErrorCallback;
-class FileReader;
-
namespace AdblockPlus
{
+ class ErrorCallback;
+ class FileReader;
+
class JsError : public std::runtime_error
{
public:
@@ -27,6 +27,7 @@
const std::string& filename = "");
void Load(const std::string& scriptPath);
std::string Call(const std::string& functionName);
+ std::string GetVariable(const std::string& name);
void Gc();
private:
« no previous file with comments | « no previous file | lib/compat.js » ('j') | src/GlobalJsObject.cpp » ('J')

Powered by Google App Engine
This is Rietveld