function updateSignInState(isUserSignedIn) {
  waitForAppUpgrade().then(function() {
    if ($('history-app')) {
      /** @type {HistoryAppElement} */ ($('history-app'))
          .updateSignInState(isUserSignedIn);
    }
  });
}
/**
 * Called by the history backend after user's sign in state changes.
 * @param {boolean} isUserSignedIn Whether user is signed in or not now.
 */
Called by the history backend after user's sign in state changes.
@param {boolean} isUserSignedIn Whether user is signed in or not now.
Called by the history backend after user ' s sign in state changes . @param { boolean } isUserSignedIn Whether user is signed in or not now .
function updateSignInState(isUserSignedIn) {
  waitForAppUpgrade().then(function() {
    if ($('history-app')) {
       ($('history-app'))
          .updateSignInState(isUserSignedIn);
    }
  });
}
function updateSignInState ( isUserSignedIn ) { waitForAppUpgrade ( ) . then ( function ( ) { if ( $ ( 'history-app' ) ) { ( $ ( 'history-app' ) ) . updateSignInState ( isUserSignedIn ) ; } } ) ; }
Called by the history backend after user's sign in state changes.
Called by the history backend after user ' s sign in state changes .
/** @type {HistoryAppElement} */