mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
25039a4673
* Allow mocking DAPTelemetrySender to test measurements without having to decrypt payloads * Allow mocking Date.now to test expiration conditions Also: * Stop swallowing errors in DAPTelemetrySender * Correct typo loopbackDays -> lookbackDays Differential Revision: https://phabricator.services.mozilla.com/D212957
15 lines
763 B
Plaintext
15 lines
763 B
Plaintext
/* -*- Mode: C; tab-width: 8; 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(c7e7fc54-4133-4191-bd40-cc2b77fd21bc)]
|
|
interface nsIPrivateAttributionService : nsISupports
|
|
{
|
|
void onAttributionEvent(in ACString sourceHost, in ACString type, in uint32_t index, in AString ad, in ACString targetHost);
|
|
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);
|
|
};
|