gecko/toolkit/components/telemetry/nsITelemetryPing.idl

18 lines
647 B
Plaintext
Raw Normal View History

/* -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 8 -*- */
/* 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 "nsIObserver.idl"
interface nsIFile;
[scriptable, uuid(077ee790-3a9d-11e2-81c1-0800200c9a66)]
interface nsITelemetryPing : nsIObserver {
jsval getPayload();
void saveHistograms(in nsIFile aFile, in boolean aSync);
void gatherStartup();
void enableLoadSaveNotifications(); /* Used only for testing. */
void setAddOns(in AString aAddOns);
};