Bug 728904 - prefix telemetry constants starting by A11Y, r=surkov, f=tbsaunde

This commit is contained in:
Mark Capella 2012-02-25 13:32:21 +09:00
Родитель 7cd901be3d
Коммит d7d4705039
2 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -60,7 +60,7 @@ namespace statistics {
{
static bool firstTime = true;
if (firstTime) {
Telemetry::Accumulate(Telemetry::ISIMPLE_DOM_USAGE, 1);
Telemetry::Accumulate(Telemetry::A11Y_ISIMPLEDOM_USAGE, 1);
firstTime = false;
}
}
@ -69,13 +69,13 @@ namespace statistics {
* Report that IAccessibleTable has been used.
*/
inline void IAccessibleTableUsed()
{ Telemetry::Accumulate(Telemetry::IACCESSIBLE_TABLE_USAGE, 1); }
{ Telemetry::Accumulate(Telemetry::A11Y_IATABLE_USAGE, 1); }
/**
* Report that XForms accessibility has been instantiated.
*/
inline void XFormsAccessibleUsed()
{ Telemetry::Accumulate(Telemetry::XFORMS_ACCESSIBLE_USED, 1); }
{ Telemetry::Accumulate(Telemetry::A11Y_XFORMS_USAGE, 1); }
} // namespace statistics
} // namespace a11y

Просмотреть файл

@ -57,9 +57,9 @@
*/
HISTOGRAM_BOOLEAN(A11Y_INSTANTIATED, "has accessibility support been instantiated")
HISTOGRAM(A11Y_CONSUMERS, 1, 6, 7, LINEAR, "Accessibility client by enum id")
HISTOGRAM_BOOLEAN(ISIMPLE_DOM_USAGE, "have the ISimpleDOM* accessibility interfaces been used")
HISTOGRAM_BOOLEAN(IACCESSIBLE_TABLE_USAGE, "has the IAccessibleTable accessibility interface been used")
HISTOGRAM_BOOLEAN(XFORMS_ACCESSIBLE_USED, "has XForms accessibility been instantiated")
HISTOGRAM_BOOLEAN(A11Y_ISIMPLEDOM_USAGE, "have the ISimpleDOM* accessibility interfaces been used")
HISTOGRAM_BOOLEAN(A11Y_IATABLE_USAGE, "has the IAccessibleTable accessibility interface been used")
HISTOGRAM_BOOLEAN(A11Y_XFORMS_USAGE, "has XForms accessibility been instantiated")
/**
* Cycle collector telemetry