pdf.js/extensions/firefox/content/PdfJsTelemetry-addon.jsm
Georg Fritzsche 788fe1f810 Stub out Firefox addon Telemetry wrapper
We are planning to remove the addon histogram APIs from Firefox
Telemetry.
The easy solution here is to just stub out all calls that use them.
2017-04-05 14:17:31 +07:00

46 lines
1.1 KiB
JavaScript

/* Copyright 2013 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* eslint max-len: ["error", 120] */
/* globals Components, Services */
"use strict";
this.EXPORTED_SYMBOLS = ["PdfJsTelemetry"];
this.PdfJsTelemetry = {
onViewerIsUsed() {
},
onFallback() {
},
onDocumentSize(size) {
},
onDocumentVersion(versionId) {
},
onDocumentGenerator(generatorId) {
},
onEmbed(isObject) {
},
onFontType(fontTypeId) {
},
onForm(isAcroform) {
},
onPrint() {
},
onStreamType(streamTypeId) {
},
onTimeToView(ms) {
}
};