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 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/debug.h ('k') | compiled/filter/ActiveFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/filter/ActiveFilter.h
diff --git a/compiled/filter/ActiveFilter.h b/compiled/filter/ActiveFilter.h
index 70ee54c1966a155440f82fcfdf45fa186e8c4cf5..4c3882f97fafd7cf738ed828ad9fd80260056e02 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
{
protected:
@@ -71,3 +74,5 @@ public:
};
typedef intrusive_ptr<ActiveFilter> ActiveFilterPtr;
+
+ABP_NS_END
« no previous file with comments | « compiled/debug.h ('k') | compiled/filter/ActiveFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld