diff options
author | gab@chromium.org <gab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-03 22:18:36 +0000 |
---|---|---|
committer | gab@chromium.org <gab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-03 22:18:36 +0000 |
commit | 816153386f5cf5f06657bb7f49e59ba1ca545043 (patch) | |
tree | f27698295a3a5ec82ac4fd7e25ad727ff85aef66 /chrome/browser/chrome_content_browser_client.cc | |
parent | 5c63806e0751f1c6ee95f460fdd1fee2d342c32b (diff) | |
download | chromium_src-816153386f5cf5f06657bb7f49e59ba1ca545043.zip chromium_src-816153386f5cf5f06657bb7f49e59ba1ca545043.tar.gz chromium_src-816153386f5cf5f06657bb7f49e59ba1ca545043.tar.bz2 |
[Fixit-Dec-2012] Set the working directory of setup.exe to the temp dir when moving setup.exe to the temp dir.
setup.exe should never have the install directory as its working
directory or it will fail to delete some folders (even after it has
been moved to the temp folder itself) as it's automatically given a
handle to its working directory by Windows. Arbitrarily choose the
temp directory as the working directory (obtaining this path should
always succeed, but if it doesn't: proceed anyways as it's preferable
to leave some files behind then to abort the self-destruct).
BUG=159995
TEST=Application folder is deleted upon user-level Chrome self-destruct!
Review URL: https://chromiumcodereview.appspot.com/11693008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175029 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chrome_content_browser_client.cc')
0 files changed, 0 insertions, 0 deletions