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

Unified Diff: compiled/filter/ActiveFilter.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 Feb. 6, 2018, 9:54 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
Index: compiled/filter/ActiveFilter.h
diff --git a/compiled/filter/ActiveFilter.h b/compiled/filter/ActiveFilter.h
index 8b17e8e4850258dfa1b90c59d3e3f8029dd63b77..9dfc2fcb0918bf6338a57aec960117b788e53a28 100644
--- a/compiled/filter/ActiveFilter.h
+++ b/compiled/filter/ActiveFilter.h
@@ -17,6 +17,7 @@
#pragma once
+#include "../base.h"
#include "Filter.h"
#include "../StringMap.h"
#include "../FilterNotifier.h"
@@ -35,13 +36,15 @@
if (name != value)\
{\
name = value;\
- if (FilterNotifier::Topic::topic != FilterNotifier::Topic::NONE)\
+ if (ABP_NS::FilterNotifier::Topic::topic != ABP_NS::FilterNotifier::Topic::NONE)\
{\
- FilterNotifier::FilterChange(FilterNotifier::Topic::topic, *this);\
+ ABP_NS::FilterNotifier::FilterChange(ABP_NS::FilterNotifier::Topic::topic, *this);\
}\
}\
}
+ABP_NS_BEGIN
+
class ActiveFilter : public Filter
{
public:
@@ -73,3 +76,5 @@ public:
};
typedef intrusive_ptr<ActiveFilter> ActiveFilterPtr;
+
+ABP_NS_END
« compiled/base.h ('K') | « compiled/debug.h ('k') | compiled/filter/ActiveFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld