extensions/amp-user-notification/0.1/amp-user-notification.js
/**
   * Opts the user out of cid issuance and dismisses the notification.
   * @private
   */
Opts the user out of cid issuance and dismisses the notification.
@private
Opts the user out of cid issuance and dismisses the notification . @private
optoutOfCid_() {
    return this.getCidService_()
        .then(cid => cid.optOut())
        .then(() => this.dismiss(false), reason => {
          dev().error(TAG,
              'Failed to opt out of Cid', reason);
          this.dismiss(true);
        });
  }
optoutOfCid_ ( ) { return this . getCidService_ ( ) . then ( cid => cid . optOut ( ) ) . then ( ( ) => this . dismiss ( false ) , reason => { dev ( ) . error ( TAG , 'Failed to opt out of Cid' , reason ) ; this . dismiss ( true ) ; } ) ; }
Opts the user out of cid issuance and dismisses the notification.
Opts the user out of cid issuance and dismisses the notification .
/*forceNoPersist*/ // If optout fails, dismiss notification without persisting. /*forceNoPersist*/