gecko-dev/toolkit/components/url-classifier/IUrlClassifierUITelemetry.idl

50 строки
2.3 KiB
Plaintext

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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(a6c62ce5-3a95-41bb-b0f1-8cd4f4ca00e3)]
interface IUrlClassifierUITelemetry : nsISupports {
const uint32_t WARNING_MALWARE_PAGE_TOP = 1;
const uint32_t WARNING_MALWARE_PAGE_TOP_WHY_BLOCKED = 2;
const uint32_t WARNING_MALWARE_PAGE_TOP_GET_ME_OUT_OF_HERE = 3;
const uint32_t WARNING_MALWARE_PAGE_TOP_IGNORE_WARNING = 4;
const uint32_t WARNING_MALWARE_PAGE_FRAME = 5;
const uint32_t WARNING_MALWARE_PAGE_FRAME_WHY_BLOCKED = 6;
const uint32_t WARNING_MALWARE_PAGE_FRAME_GET_ME_OUT_OF_HERE = 7;
const uint32_t WARNING_MALWARE_PAGE_FRAME_IGNORE_WARNING = 8;
const uint32_t WARNING_PHISHING_PAGE_TOP = 9;
const uint32_t WARNING_PHISHING_PAGE_TOP_WHY_BLOCKED = 10;
const uint32_t WARNING_PHISHING_PAGE_TOP_GET_ME_OUT_OF_HERE = 11;
const uint32_t WARNING_PHISHING_PAGE_TOP_IGNORE_WARNING = 12;
const uint32_t WARNING_PHISHING_PAGE_FRAME = 13;
const uint32_t WARNING_PHISHING_PAGE_FRAME_WHY_BLOCKED = 14;
const uint32_t WARNING_PHISHING_PAGE_FRAME_GET_ME_OUT_OF_HERE = 15;
const uint32_t WARNING_PHISHING_PAGE_FRAME_IGNORE_WARNING = 16;
const uint32_t WARNING_UNWANTED_PAGE_TOP = 17;
const uint32_t WARNING_UNWANTED_PAGE_TOP_WHY_BLOCKED = 18;
const uint32_t WARNING_UNWANTED_PAGE_TOP_GET_ME_OUT_OF_HERE = 19;
const uint32_t WARNING_UNWANTED_PAGE_TOP_IGNORE_WARNING = 20;
const uint32_t WARNING_UNWANTED_PAGE_FRAME = 21;
const uint32_t WARNING_UNWANTED_PAGE_FRAME_WHY_BLOCKED = 22;
const uint32_t WARNING_UNWANTED_PAGE_FRAME_GET_ME_OUT_OF_HERE = 23;
const uint32_t WARNING_UNWANTED_PAGE_FRAME_IGNORE_WARNING = 24;
const uint32_t WARNING_HARMFUL_PAGE_TOP = 25;
const uint32_t WARNING_HARMFUL_PAGE_TOP_WHY_BLOCKED = 26;
const uint32_t WARNING_HARMFUL_PAGE_TOP_GET_ME_OUT_OF_HERE = 27;
const uint32_t WARNING_HARMFUL_PAGE_TOP_IGNORE_WARNING = 28;
const uint32_t WARNING_HARMFUL_PAGE_FRAME = 29;
const uint32_t WARNING_HARMFUL_PAGE_FRAME_WHY_BLOCKED = 30;
const uint32_t WARNING_HARMFUL_PAGE_FRAME_GET_ME_OUT_OF_HERE = 31;
const uint32_t WARNING_HARMFUL_PAGE_FRAME_IGNORE_WARNING = 32;
};