summaryrefslogtreecommitdiff
path: root/src/adblock/adblockruleimpl.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-08-23 00:05:18 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-08-23 00:05:18 +0200
commita0fe09d63b05d7198ebe013f1d6be9097a0acf65 (patch)
tree2c7907ef79d4f07b0aa26b206ffd8d0bbf9e5eaa /src/adblock/adblockruleimpl.h
parentMerge commit 'refs/merge-requests/185' of git://gitorious.org/rekonq/mainline... (diff)
parentAdd support for domain option in the ad block module (diff)
downloadrekonq-a0fe09d63b05d7198ebe013f1d6be9097a0acf65.tar.xz
Merge commit 'refs/merge-requests/186' of git://gitorious.org/rekonq/mainline into m186
Diffstat (limited to 'src/adblock/adblockruleimpl.h')
-rw-r--r--src/adblock/adblockruleimpl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/adblock/adblockruleimpl.h b/src/adblock/adblockruleimpl.h
index db5cec30..7702217b 100644
--- a/src/adblock/adblockruleimpl.h
+++ b/src/adblock/adblockruleimpl.h
@@ -27,13 +27,14 @@
#define ADBLOCKRULEIMPL_H
class QString;
+class QNetworkRequest;
class AdBlockRuleImpl
{
public:
AdBlockRuleImpl(const QString &) {}
virtual ~AdBlockRuleImpl() {}
- virtual bool match(const QString &encodedUrl, const QString &encodedUrlLowerCase) const = 0;
+ virtual bool match(const QNetworkRequest &request, const QString &encodedUrl, const QString &encodedUrlLowerCase) const = 0;
};
#endif // ADBLOCKRULEIMPL_H