summaryrefslogtreecommitdiff
path: root/src/adblock/adblockruleimpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/adblock/adblockruleimpl.h')
-rw-r--r--src/adblock/adblockruleimpl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/adblock/adblockruleimpl.h b/src/adblock/adblockruleimpl.h
index 7702217b..d7f51c19 100644
--- a/src/adblock/adblockruleimpl.h
+++ b/src/adblock/adblockruleimpl.h
@@ -35,6 +35,10 @@ public:
AdBlockRuleImpl(const QString &) {}
virtual ~AdBlockRuleImpl() {}
virtual bool match(const QNetworkRequest &request, const QString &encodedUrl, const QString &encodedUrlLowerCase) const = 0;
+
+ // This are added just for debugging purposes
+ virtual QString ruleString() const = 0;
+ virtual QString ruleType() const = 0;
};
#endif // ADBLOCKRULEIMPL_H