mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 04:35:33 +00:00
Bug 1485400 - Part 0: separate blocked tracker counter; r=smaug
separate tracker counter API Differential Revision: https://phabricator.services.mozilla.com/D4490 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
942e399548
commit
2d642ae078
@ -3555,14 +3555,16 @@ public:
|
||||
--mIgnoreOpensDuringUnloadCounter;
|
||||
}
|
||||
|
||||
void IncrementTrackerCount(bool aIsTrackerBlocked)
|
||||
void IncrementTrackerCount()
|
||||
{
|
||||
MOZ_ASSERT(!GetSameTypeParentDocument());
|
||||
|
||||
++mNumTrackersFound;
|
||||
if (aIsTrackerBlocked) {
|
||||
++mNumTrackersBlocked;
|
||||
}
|
||||
}
|
||||
|
||||
void IncrementTrackerBlockedCount()
|
||||
{
|
||||
MOZ_ASSERT(!GetSameTypeParentDocument());
|
||||
++mNumTrackersBlocked;
|
||||
}
|
||||
|
||||
uint32_t NumTrackersFound()
|
||||
|
Loading…
Reference in New Issue
Block a user