function LoginStore(aPath)
{
  this.path = aPath;

  this._saver = new DeferredTask(() => this.save(), kSaveDelayMs);
  AsyncShutdown.profileBeforeChange.addBlocker("Login store: writing data",
                                               () => this._saver.finalize());
}
/**
 * Handles serialization of login-related data and persistence into a file.
 *
 * @param aPath
 *        String containing the file path where data should be saved.
 */
Handles serialization of login-related data and persistence into a file.
@param aPath
String containing the file path where data should be saved.
Handles serialization of login - related data and persistence into a file . @param aPath String containing the file path where data should be saved .
function LoginStore(aPath)
{
  this.path = aPath;
  this._saver = new DeferredTask(() => this.save(), kSaveDelayMs);
  AsyncShutdown.profileBeforeChange.addBlocker("Login store: writing data",
                                               () => this._saver.finalize());
}
function LoginStore ( aPath ) { this . path = aPath ; this . _saver = new DeferredTask ( ( ) => this . save ( ) , kSaveDelayMs ) ; AsyncShutdown . profileBeforeChange . addBlocker ( "Login store: writing data" , ( ) => this . _saver . finalize ( ) ) ; }
Handles serialization of login-related data and persistence into a file.
Handles serialization of login - related data and persistence into a file .