summaryrefslogtreecommitdiffstats
path: root/toolkit/components/antitracking/bouncetrackingprotection/nsIBounceTrackingMapEntry.idl
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/antitracking/bouncetrackingprotection/nsIBounceTrackingMapEntry.idl')
-rw-r--r--toolkit/components/antitracking/bouncetrackingprotection/nsIBounceTrackingMapEntry.idl17
1 files changed, 17 insertions, 0 deletions
diff --git a/toolkit/components/antitracking/bouncetrackingprotection/nsIBounceTrackingMapEntry.idl b/toolkit/components/antitracking/bouncetrackingprotection/nsIBounceTrackingMapEntry.idl
new file mode 100644
index 0000000000..2e2f1823ab
--- /dev/null
+++ b/toolkit/components/antitracking/bouncetrackingprotection/nsIBounceTrackingMapEntry.idl
@@ -0,0 +1,17 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#include "nsISupports.idl"
+
+/**
+ * This interface represents an entry in the global bounce tracker or user activation map.
+ */
+[scriptable, uuid(51B0B5AE-0AC2-4A3C-8C7E-3523FA42881B)]
+interface nsIBounceTrackingMapEntry : nsISupports {
+ // The host of the site that has received user activation or is a bounce tracker candidate.
+ readonly attribute ACString siteHost;
+ // The time when the user activation or bounce tracker candidate was added.
+ // This is a PRTime, which is USEC since the epoch.
+ readonly attribute int64_t timeStamp;
+};