Commit f8781418 authored by Tatsuhisa Yamaguchi's avatar Tatsuhisa Yamaguchi Committed by Commit Bot

Zip Archiver: Stop persisting mount info.

Make Zip Archiver to forget password when requested to resume, as well
as returning error to make VolumeManager remove the persisted provided
volume info.
Remove all code for persisting zip mount state.

Bug: 789073,803752
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: Icb9a6e9ca04b7ed633480a17973d1dcb126d02e0
Reviewed-on: https://chromium-review.googlesource.com/940742
Commit-Queue: Tatsuhisa Yamaguchi <yamaguchi@chromium.org>
Reviewed-by: default avatarYuki Awano <yawano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#543048}
parent d953b6af
......@@ -296,8 +296,6 @@ unpacker.Decompressor.prototype.readChunk_ = function(data, requestId) {
unpacker.Decompressor.prototype.readPassphrase_ = function(data, requestId) {
this.passphraseManager.getPassphrase()
.then(function(passphrase) {
// Update remembered password
unpacker.app.updateState([this.fileSystemId_]);
this.naclModule_.postMessage(
unpacker.request.createReadPassphraseDoneResponse(
this.fileSystemId_, requestId, passphrase));
......
......@@ -8,6 +8,7 @@ function init() {
loadTimeData.data = strings;
i18nTemplate.process(document, loadTimeData);
});
backgroundPage.unpacker.app.cleanupOldStorageInfo();
});
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment