Bug 1015988 - Client needs to report number of shared URLs on Desktop. r=MattN

This commit is contained in:
Paolo Amadini
2014-10-07 15:11:46 -04:00
parent 6fc5a95e3b
commit 360de316a6
5 changed files with 97 additions and 15 deletions

View File

@@ -363,7 +363,11 @@ loop.panel = (function(_, mozL10n) {
},
handleLinkExfiltration: function(event) {
// TODO Bug 1015988 -- Increase link exfiltration telemetry count
try {
navigator.mozLoop.telemetryAdd("LOOP_CLIENT_CALL_URL_SHARED", true);
} catch (err) {
console.error("Error recording telemetry", err);
}
if (this.state.callUrlExpiry) {
navigator.mozLoop.noteCallUrlExpiry(this.state.callUrlExpiry);
}