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

Unified Diff: compiled/subscription/UserDefinedSubscription.h

Issue 29385742: Issue 4127 - [emscripten] Convert subscription classes to C++ - Part 2 (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Created March 16, 2017, 6:27 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
Index: compiled/subscription/UserDefinedSubscription.h
===================================================================
--- a/compiled/subscription/UserDefinedSubscription.h
+++ b/compiled/subscription/UserDefinedSubscription.h
@@ -14,10 +14,12 @@ private:
};
static int filterTypeToDefaults[Filter::Type::MAXTYPE + 1];
int mDefaults;
public:
explicit UserDefinedSubscription(const String& id);
EMSCRIPTEN_KEEPALIVE bool IsDefaultFor(const Filter* filter) const;
EMSCRIPTEN_KEEPALIVE void MakeDefaultFor(const Filter* filter);
+ EMSCRIPTEN_KEEPALIVE void InsertFilterAt(Filter* filter, unsigned pos);
+ EMSCRIPTEN_KEEPALIVE bool RemoveFilterAt(unsigned pos);
EMSCRIPTEN_KEEPALIVE OwnedString Serialize() const;
};

Powered by Google App Engine
This is Rietveld