summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-08 19:45:45 +0000
committerrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-08 19:45:45 +0000
commit9f7b860a6c4e84f80c0666980d6c947bf2ce9bf2 (patch)
treeb9a653d8fc2d1dc4fd418cd5b735433fd3150d77 /remoting
parentc1702d71f2fb3ba58cceb044c8e7401da1d5c9c8 (diff)
downloadchromium_src-9f7b860a6c4e84f80c0666980d6c947bf2ce9bf2.zip
chromium_src-9f7b860a6c4e84f80c0666980d6c947bf2ce9bf2.tar.gz
chromium_src-9f7b860a6c4e84f80c0666980d6c947bf2ce9bf2.tar.bz2
Make Chrome Frame registration and unregistration more robust and make it return extra information in the failure code.
Specifically, there are a series of registration changes made by Chrome Frame at registration and unregistration time. Previously, if any of those changes failed, the previous changes were left and subsequent changes were not made. During registration this could result in partial registration data being left if one of the items failed which is bad but wasn't a problem in practice, because if ever registration failed, unregistration would then be performed by the installer. Also the most likely step to fail happens first. During unregistration, if any of the steps fail, the remaining unregistration steps will not be taken. This is bad, as uninstallation is a best effort, "clean up everything you can" type thing. Changed this to for registration roll back the previous N-1 steps of step N fails and for unregistration to attempt to perform all N steps disregarding failures. Updated installer logging. BUG=94848 TEST=Unregistration of e.g. the user-agent modification should always be performed even if an earlier step fails. Review URL: http://codereview.chromium.org/7824010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100224 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
0 files changed, 0 insertions, 0 deletions