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: Created April 26, 2013, 11:41 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,17 +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;
+ friend class Filter;
+ friend class Subscription;
public:
virtual ~JsValue();
bool IsUndefined() const;
bool IsNull() const;
bool IsString() const;
bool IsNumber() const;
bool IsBool() 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