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: Fix debug.h to be aligned with assert2 (define vs function) and get rid of a warning in generator.cpp Created Nov. 21, 2017, 2:53 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/filter/ActiveFilter.h
diff --git a/compiled/filter/ActiveFilter.h b/compiled/filter/ActiveFilter.h
index 50eeee32cb2a077936668d2d3b6ce15b0145b8bb..9353a907b1b96f2b88e4a3c4f0cd3189ca2868eb 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:
@@ -68,3 +71,5 @@ public:
bool BINDINGS_EXPORTED IsGeneric() const;
OwnedString BINDINGS_EXPORTED Serialize() const;
};
+
+ABP_NS_END

Powered by Google App Engine
This is Rietveld