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

Unified Diff: compiled/subscription/UserDefinedSubscription.h

Issue 29581588: Issue 5258 - Add typedefs for smart pointers referring to all filter and subscription classes (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Created Oct. 17, 2017, 12: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
« no previous file with comments | « compiled/subscription/DownloadableSubscription.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/subscription/UserDefinedSubscription.h
===================================================================
--- a/compiled/subscription/UserDefinedSubscription.h
+++ b/compiled/subscription/UserDefinedSubscription.h
@@ -34,8 +34,10 @@ public:
bool BINDINGS_EXPORTED IsGeneric() const
{
return mDefaults == 0;
}
void BINDINGS_EXPORTED InsertFilterAt(Filter& filter, unsigned pos);
bool BINDINGS_EXPORTED RemoveFilterAt(unsigned pos);
OwnedString BINDINGS_EXPORTED Serialize() const;
};
+
+typedef intrusive_ptr<UserDefinedSubscription> UserDefinedSubscriptionPtr;
« no previous file with comments | « compiled/subscription/DownloadableSubscription.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld