Fix a crash in the FileSystem API when the app window closes during a call.
commita640190a18bec8e17ba866e91348fd559726f694
authorsammc@chromium.org <sammc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 10 Sep 2013 08:48:11 +0000 (10 08:48 +0000)
committersammc@chromium.org <sammc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 10 Sep 2013 08:48:11 +0000 (10 08:48 +0000)
tree7343989bcaeb1a97f6d0bd76379017396bc26cd5
parentb0fddcb89971639603ec80c8bae39fe49de035e0
Fix a crash in the FileSystem API when the app window closes during a call.

Previously, closing the app window while a file is being checked for
write access caused a crash. This adds an early exit to prevent that
crash.

BUG=282727

Review URL: https://chromiumcodereview.appspot.com/23629033

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222224 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/extensions/api/file_system/file_system_api.cc