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

Unified Diff: src/GlobalJsObject.h

Issue 10184021: Some refactoring of global JavaScript objects (Closed)
Patch Set: Unbitrotted patch Created April 16, 2013, 3:32 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 | « src/FileSystemJsObject.cpp ('k') | src/GlobalJsObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/GlobalJsObject.h
===================================================================
--- a/src/GlobalJsObject.h
+++ b/src/GlobalJsObject.h
@@ -1,20 +1,16 @@
#ifndef ADBLOCK_PLUS_GLOBAL_JS_OBJECT_H
#define ADBLOCK_PLUS_GLOBAL_JS_OBJECT_H
#include <v8.h>
namespace AdblockPlus
{
- class FileSystem;
- class WebRequest;
- class ErrorCallback;
+ class JsEngine;
namespace GlobalJsObject
{
- v8::Handle<v8::ObjectTemplate> Create(FileSystem& fileSystem,
- WebRequest& webRequest,
- ErrorCallback& errorCallback);
+ v8::Handle<v8::ObjectTemplate> Create(JsEngine& jsEngine);
}
}
#endif
« no previous file with comments | « src/FileSystemJsObject.cpp ('k') | src/GlobalJsObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld