Revert 75405 - Register Application Restart with Windows Restart Manager on browser_main startup for Windows Vista / Server 2008 and beyond. This launches Chrome and restores tabs if the computer is restarted as the result of an update. Make changes to support necessary CommandLine operations. Other minor cleanup and refactoring.
BUG=70824
TEST=Reboot from update or ::ExitWindowsEx(EWX_RESTARTAPPS... Chrome should restart and restore tabs on login. Test launching Chrome with a variety of command-line switches and arguments.
Review URL: http://codereview.chromium.org/6462024
TBR=msw@chromium.org
Review URL: http://codereview.chromium.org/6538059
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75410 0039d316-1c4b-4281-b951-d872f2087c98
CrOS-Libchrome-Original-Commit: 50177f5cb1ce8e91b618bf3176181341d8709277
2 files changed