Delete the installation directory if the installation fails.
commitab8d887759ba48ce856885f11ffb6afe837ca933
authorwaffles@chromium.org <waffles@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 20 Sep 2013 04:17:59 +0000 (20 04:17 +0000)
committerwaffles@chromium.org <waffles@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 20 Sep 2013 04:17:59 +0000 (20 04:17 +0000)
treec3243b6617b50d3487b18aa743ad645ca92b1e3f
parent5bf76f0e4a43c36e066883ead23a79c9059fdc80
Delete the installation directory if the installation fails.

This prevents us from leaving a partially-installed directory on the disk,
which can confuse future Chrome start-ups.

BUG=245318

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224280 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/component_updater/default_component_installer.cc
chrome/browser/component_updater/default_component_installer.h