startLoadingInvitations() {
      if (!this.cloudPrintInterface_)
        return;
      if (!this.userInfo_.activeUser)
        return;
      if (this.loadStatus_.hasOwnProperty(this.userInfo_.activeUser)) {
        if (this.loadStatus_[this.userInfo_.activeUser] ==
            print_preview.InvitationStoreLoadStatus.DONE) {
          cr.dispatchSimpleEvent(
              this, InvitationStore.EventType.INVITATION_SEARCH_DONE);
        }
        return;
      }

      this.loadStatus_[this.userInfo_.activeUser] =
          print_preview.InvitationStoreLoadStatus.IN_PROGRESS;
      this.cloudPrintInterface_.invites(this.userInfo_.activeUser);
    }
/** Initiates loading of cloud printer sharing invitations. */
Initiates loading of cloud printer sharing invitations.
Initiates loading of cloud printer sharing invitations .
startLoadingInvitations() {
      if (!this.cloudPrintInterface_)
        return;
      if (!this.userInfo_.activeUser)
        return;
      if (this.loadStatus_.hasOwnProperty(this.userInfo_.activeUser)) {
        if (this.loadStatus_[this.userInfo_.activeUser] ==
            print_preview.InvitationStoreLoadStatus.DONE) {
          cr.dispatchSimpleEvent(
              this, InvitationStore.EventType.INVITATION_SEARCH_DONE);
        }
        return;
      }
      this.loadStatus_[this.userInfo_.activeUser] =
          print_preview.InvitationStoreLoadStatus.IN_PROGRESS;
      this.cloudPrintInterface_.invites(this.userInfo_.activeUser);
    }
startLoadingInvitations ( ) { if ( ! this . cloudPrintInterface_ ) return ; if ( ! this . userInfo_ . activeUser ) return ; if ( this . loadStatus_ . hasOwnProperty ( this . userInfo_ . activeUser ) ) { if ( this . loadStatus_ [ this . userInfo_ . activeUser ] == print_preview . InvitationStoreLoadStatus . DONE ) { cr . dispatchSimpleEvent ( this , InvitationStore . EventType . INVITATION_SEARCH_DONE ) ; } return ; } this . loadStatus_ [ this . userInfo_ . activeUser ] = print_preview . InvitationStoreLoadStatus . IN_PROGRESS ; this . cloudPrintInterface_ . invites ( this . userInfo_ . activeUser ) ; }
Initiates loading of cloud printer sharing invitations.
Initiates loading of cloud printer sharing invitations .