2 * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
9 #ifndef SQUID_ACLANNOTATETRANSACTION
10 #define SQUID_ACLANNOTATETRANSACTION
12 #include "acl/Strategised.h"
13 #include "acl/Strategy.h"
16 class ACLAnnotateTransactionStrategy
: public ACLStrategy
<NotePairs::Entry
*>
19 virtual int match(ACLData
<MatchType
> * &, ACLFilledChecklist
*, ACLFlags
&);
20 virtual bool requiresRequest() const { return true; }
22 static ACLAnnotateTransactionStrategy
*Instance();
23 ACLAnnotateTransactionStrategy(ACLAnnotateTransactionStrategy
const &) = delete;
24 ACLAnnotateTransactionStrategy
& operator=(ACLAnnotateTransactionStrategy
const &) = delete;
27 static ACLAnnotateTransactionStrategy Instance_
;
28 ACLAnnotateTransactionStrategy() {}
32 class ACLAnnotateTransaction
35 static ACL::Prototype RegistryProtoype
;
36 static ACLStrategised
<NotePairs::Entry
*> RegistryEntry_
;
39 #endif /* SQUID_ACLANNOTATETRANSACTION */