Zip Archiver: Skip zip file mount entry state maintenance in guest mode
As of now, when we mount a zip file we maintain mounted entries through retainEntry private method and use that information to restore them upon device restart or session login. Because retainEntry method does not work under incognito mode we return an error message if retainEntry is called. Incognito mode does not retain changes made in its session and therefore we skip calls that would otherwise call retainEntry method. As a result, Zip Archiver works in incognito/guest mode. Bug: 607078 Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: I9220eea4ed9ea8b9e873698d44cd6e167194b071 Reviewed-on: https://chromium-review.googlesource.com/663002 Commit-Queue: Klemen Kozjek <klemenko@google.com> Reviewed-by:Tomasz Mikolajewski <mtomasz@chromium.org> Cr-Commit-Position: refs/heads/master@{#502171}
Showing
Please register or sign in to comment