mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 16:37:31 +09:00
Issue #1338 - Part 2: Update NSS to 3.48-RTM
This commit is contained in:
parent
1a92143e68
commit
c57cac24e8
885 changed files with 1650639 additions and 59530 deletions
|
|
@ -33,9 +33,11 @@ class PacketFilter {
|
|||
CHANGE, // change the packet to a different value
|
||||
DROP // drop the packet
|
||||
};
|
||||
PacketFilter(bool enabled = true) : enabled_(enabled) {}
|
||||
explicit PacketFilter(bool on = true) : enabled_(on) {}
|
||||
virtual ~PacketFilter() {}
|
||||
|
||||
bool enabled() const { return enabled_; }
|
||||
|
||||
virtual Action Process(const DataBuffer& input, DataBuffer* output) {
|
||||
if (!enabled_) {
|
||||
return KEEP;
|
||||
|
|
@ -68,6 +70,8 @@ class DummyPrSocket : public DummyIOLayerMethods {
|
|||
write_error_(0) {}
|
||||
virtual ~DummyPrSocket() {}
|
||||
|
||||
static PRDescIdentity LayerId();
|
||||
|
||||
// Create a file descriptor that will reference this object. The fd must not
|
||||
// live longer than this adapter; call PR_Close() before.
|
||||
ScopedPRFileDesc CreateFD();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue