2012-12-03 10:31:00 -08:00
|
|
|
/* -*- 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"
|
|
|
|
|
2012-12-06 18:15:13 -08:00
|
|
|
interface nsIFile;
|
|
|
|
|
2012-12-03 10:31:00 -08:00
|
|
|
[scriptable, uuid(077ee790-3a9d-11e2-81c1-0800200c9a66)]
|
|
|
|
interface nsITelemetryPing : nsIObserver {
|
|
|
|
jsval getPayload();
|
2012-12-06 18:15:13 -08:00
|
|
|
void saveHistograms(in nsIFile aFile, in boolean aSync);
|
2012-12-06 21:28:13 -08:00
|
|
|
void gatherStartup();
|
2012-12-06 21:38:20 -08:00
|
|
|
void enableLoadSaveNotifications(); /* Used only for testing. */
|
2012-12-06 21:45:33 -08:00
|
|
|
void setAddOns(in AString aAddOns);
|
2012-12-03 10:31:00 -08:00
|
|
|
};
|