B2G/gecko/services/healthreport/policy.jsm
/**
 * Represents a request to submit data.
 *
 * Instances of this are created when the policy requests data upload or
 * deletion.
 *
 * Receivers are expected to call one of the provided on* functions to signal
 * completion of the request.
 *
 * Instances of this type should not be instantiated outside of this file.
 * Receivers of instances of this type should not attempt to do anything with
 * the instance except call one of the on* methods.
 */
Represents a request to submit data.
Instances of this are created when the policy requests data upload or
deletion.

Receivers are expected to call one of the provided on* functions to signal
completion of the request.

Instances of this type should not be instantiated outside of this file.
Receivers of instances of this type should not attempt to do anything with
the instance except call one of the on* methods.
Represents a request to submit data . Instances of this are created when the policy requests data upload or deletion . Receivers are expected to call one of the provided on * functions to signal completion of the request . Instances of this type should not be instantiated outside of this file . Receivers of instances of this type should not attempt to do anything with the instance except call one of the on * methods .
function DataSubmissionRequest(promise, expiresDate, isDelete) {
  this.promise = promise;
  this.expiresDate = expiresDate;
  this.isDelete = isDelete;
  this.state = null;
  this.reason = null;
}
function DataSubmissionRequest ( promise , expiresDate , isDelete ) { this . promise = promise ; this . expiresDate = expiresDate ; this . isDelete = isDelete ; this . state = null ; this . reason = null ; }
Represents a request to submit data.
Represents a request to submit data .