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

Unified Diff: include/AdblockPlus/JsValue.h

Issue 10254076: API cleanup, get rid of JsObject and GetProperty() methods that don`t return JsValue (Closed)
Patch Set: Slightly better Filter/Subscription constructors Created April 26, 2013, 11:51 a.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') | shell/src/FiltersCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/AdblockPlus/JsValue.h
===================================================================
--- a/include/AdblockPlus/JsValue.h
+++ b/include/AdblockPlus/JsValue.h
@@ -15,18 +15,18 @@ namespace AdblockPlus
typedef std::vector<AdblockPlus::JsValuePtr> JsValueList;
// Forward declaration to avoid including JsEngine.h
typedef std::tr1::shared_ptr<JsEngine> JsEnginePtr;
class JsValue
{
friend class JsEngine;
- friend class JsObject;
public:
+ JsValue(JsValuePtr value);
virtual ~JsValue();
bool IsUndefined() const;
bool IsNull() const;
bool IsString() const;
bool IsNumber() const;
bool IsBool() const;
bool IsObject() const;
« no previous file with comments | « include/AdblockPlus/FilterEngine.h ('k') | shell/src/FiltersCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld