author Gregory Arndt <>
Tue, 14 Jun 2016 12:56:25 -0500
changeset 341912 099196831d4cf158176631064079088d84abf8db
parent 229976 5f470ac9f032d7eeb8c01d016fe1cc5b987813cd
permissions -rw-r--r--
Bug 1280129 - Update tasks to use v2 treeherder routes r=dustin Jobs reporting to treeherder should rely on the task route for project, revision, and pushlog ID rather than things stuffed into task.extra.treeherder. This also removes the need for a revision_hash that was calculated by mozilla-taskcluster. MozReview-Commit-ID: EcQM9QRZzgG

/* 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 */

"use strict";

this.EXPORTED_SYMBOLS = ["MobileIdentityUIGluePhoneInfo",

this.MobileIdentityUIGluePhoneInfo = function (aMsisdn, aOperator, aServiceId,
                                               aIccId, aPrimary) {
  this.msisdn = aMsisdn;
  this.operator = aOperator;
  this.serviceId = aServiceId;
  this.iccId = aIccId;
  // A phone number is considered "external" when it doesn't or we don't know
  // if it does belong to any of the device SIM cards.
  this.external = !!aIccId;
  this.primary = aPrimary;

this.MobileIdentityUIGluePhoneInfo.prototype = {};

this.MobileIdentityUIGluePromptResult = function (aPhoneNumber, aPrefix, aMcc,
                                                  aServiceId) {
  this.phoneNumber = aPhoneNumber;
  this.prefix = aPrefix;
  this.mcc = aMcc;
  this.serviceId = aServiceId;

this.MobileIdentityUIGluePromptResult.prototype = {};