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

Unified Diff: compiled/subscription/Subscription.h

Issue 29613616: Issue 6064 - Put C++ code into a configurable namespace (Closed) Base URL: https://github.com/adblockplus/adblockpluscore.git
Patch Set: rebase Created Dec. 12, 2017, 12:45 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.cpp ('k') | compiled/subscription/Subscription.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/subscription/Subscription.h
diff --git a/compiled/subscription/Subscription.h b/compiled/subscription/Subscription.h
index ff66690f90bd4fb9e02dbee2c44a5dbfec575953..6863f9ca47aec37aae9a54650463ec3399e22b96 100644
--- a/compiled/subscription/Subscription.h
+++ b/compiled/subscription/Subscription.h
@@ -19,6 +19,7 @@
#include <vector>
+#include "../base.h"
#include "../filter/Filter.h"
#include "../String.h"
#include "../FilterNotifier.h"
@@ -39,9 +40,9 @@
if (name != value)\
{\
name = value;\
- if (FilterNotifier::Topic::topic != FilterNotifier::Topic::NONE)\
+ if (ABP_NS::FilterNotifier::Topic::topic != ABP_NS::FilterNotifier::Topic::NONE)\
{\
- FilterNotifier::SubscriptionChange(FilterNotifier::Topic::topic,\
+ ABP_NS::FilterNotifier::SubscriptionChange(ABP_NS::FilterNotifier::Topic::topic,\
*this);\
}\
}\
@@ -54,6 +55,8 @@
#define SUBSCRIPTION_STRING_PROPERTY(name, topic, getter, setter) \
SUBSCRIPTION_PROPERTY_INTERNAL(OwnedString, const String&, name, topic, getter, setter)
+ABP_NS_BEGIN
+
class Subscription : public ref_counted
{
public:
@@ -118,3 +121,5 @@ public:
};
typedef intrusive_ptr<Subscription> SubscriptionPtr;
+
+ABP_NS_END
« no previous file with comments | « compiled/subscription/DownloadableSubscription.cpp ('k') | compiled/subscription/Subscription.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld