summaryrefslogtreecommitdiffstats
path: root/netwerk/base/nsISecurityInfoProvider.idl
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/base/nsISecurityInfoProvider.idl')
-rw-r--r--netwerk/base/nsISecurityInfoProvider.idl21
1 files changed, 21 insertions, 0 deletions
diff --git a/netwerk/base/nsISecurityInfoProvider.idl b/netwerk/base/nsISecurityInfoProvider.idl
new file mode 100644
index 000000000..0cf83e69c
--- /dev/null
+++ b/netwerk/base/nsISecurityInfoProvider.idl
@@ -0,0 +1,21 @@
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* 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"
+
+[scriptable, uuid(b8cc9126-9319-4415-afd9-b82220d453ed)]
+interface nsISecurityInfoProvider : nsISupports
+{
+ /**
+ * The security info for this provider, if any.
+ */
+ readonly attribute nsISupports securityInfo;
+
+ /**
+ * Whether this provider has transferred data. If it hasn't, its
+ * security info should be ignored.
+ */
+ readonly attribute boolean hasTransferredData;
+};