| Index: chrome/browser/first_run/upgrade_util_win.h
|
| diff --git a/chrome/browser/first_run/upgrade_util_win.h b/chrome/browser/first_run/upgrade_util_win.h
|
| index c5a5d5c0d13939c30c405293cffac10b6cff2709..c67e1d0cc032a88b14deca5e767b449bbebe137b 100644
|
| --- a/chrome/browser/first_run/upgrade_util_win.h
|
| +++ b/chrome/browser/first_run/upgrade_util_win.h
|
| @@ -16,6 +16,13 @@ namespace upgrade_util {
|
| // is no new_chrome.exe or the swap fails the return is false;
|
| bool SwapNewChromeExeIfPresent();
|
|
|
| +// Returns true if the currently running chrome.exe has been renamed to
|
| +// old_chrome.exe. This means that the running executable is out of date and
|
| +// has been renamed by the in-use update process. old_chrome.exe shouldn't
|
| +// continue on and run as the browser process since it may end up launching
|
| +// newer chrome.exes as child processes resulting in a version mismatch.
|
| +bool IsRunningOldChrome();
|
| +
|
| // Combines the two methods, RelaunchChromeBrowser and
|
| // SwapNewChromeExeIfPresent, to perform the rename and relaunch of
|
| // the browser. Note that relaunch does NOT exit the existing browser process.
|
|
|