tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

nsIPrivateAttributionService.idl (763B)


      1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
      2 *
      3 * This Source Code Form is subject to the terms of the Mozilla Public
      4 * License, v. 2.0. If a copy of the MPL was not distributed with this
      5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      6 
      7 #include "nsISupports.idl"
      8 
      9 [scriptable, uuid(c7e7fc54-4133-4191-bd40-cc2b77fd21bc)]
     10 interface nsIPrivateAttributionService : nsISupports
     11 {
     12  void onAttributionEvent(in ACString sourceHost, in ACString type, in uint32_t index, in AString ad, in ACString targetHost);
     13  void onAttributionConversion(in ACString targetHost, in AString task, in uint32_t histogramSize, in uint32_t lookbackDays, in ACString impressionType, in Array<AString> ads, in Array<ACString> sourceHosts);
     14 };