зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1524688: Part 26 - Convert TerminatorTelemetry to static registration. r=froydnj
--HG-- rename : toolkit/components/terminator/nsTerminatorTelemetry.js => toolkit/components/terminator/TerminatorTelemetry.jsm extra : source : fe583e7aae8d620c45a4a3638dea4d602d59e513
This commit is contained in:
Родитель
3690a74cdd
Коммит
38678a1c70
|
@ -508,7 +508,6 @@ bin/libfreebl_32int64_3.so
|
|||
@BINPATH@/pingsender@BIN_SUFFIX@
|
||||
|
||||
; Shutdown Terminator
|
||||
@RESPATH@/components/nsTerminatorTelemetry.js
|
||||
@RESPATH@/components/terminator.manifest
|
||||
|
||||
#ifdef LLVM_SYMBOLIZER
|
||||
|
|
|
@ -91,4 +91,4 @@ nsTerminatorTelemetry.prototype = {
|
|||
|
||||
// Module
|
||||
|
||||
this.NSGetFactory = XPCOMUtils.generateNSGetFactory([nsTerminatorTelemetry]);
|
||||
var EXPORTED_SYMBOLS = ["nsTerminatorTelemetry"];
|
|
@ -0,0 +1,15 @@
|
|||
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# 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/.
|
||||
|
||||
Classes = [
|
||||
{
|
||||
'cid': '{3f78ada1-cba2-442a-82dd-d5fb300ddea7}',
|
||||
'contract_ids': ['@mozilla.org/toolkit/shutdown-terminator-telemetry;1'],
|
||||
'jsm': 'resource://gre/modules/TerminatorTelemetry.jsm',
|
||||
'constructor': 'nsTerminatorTelemetry',
|
||||
'categories': {'profile-after-change': 'nsTerminatorTelemetry'},
|
||||
},
|
||||
]
|
|
@ -18,8 +18,15 @@ EXPORTS += [
|
|||
]
|
||||
|
||||
EXTRA_COMPONENTS += [
|
||||
'nsTerminatorTelemetry.js',
|
||||
'terminator.manifest',
|
||||
]
|
||||
|
||||
EXTRA_JS_MODULES += [
|
||||
'TerminatorTelemetry.jsm',
|
||||
]
|
||||
|
||||
XPCOM_MANIFESTS += [
|
||||
'components.conf',
|
||||
]
|
||||
|
||||
FINAL_LIBRARY = 'xul'
|
||||
|
|
|
@ -1,5 +1 @@
|
|||
category profile-after-change nsTerminator @mozilla.org/toolkit/shutdown-terminator;1
|
||||
|
||||
component {3f78ada1-cba2-442a-82dd-d5fb300ddea7} nsTerminatorTelemetry.js
|
||||
contract @mozilla.org/toolkit/shutdown-terminator-telemetry;1 {3f78ada1-cba2-442a-82dd-d5fb300ddea7}
|
||||
category profile-after-change nsTerminatorTelemetry @mozilla.org/toolkit/shutdown-terminator-telemetry;1
|
||||
|
|
Загрузка…
Ссылка в новой задаче