Chromium Code Reviews| Index: chrome/installer/setup/install.cc |
| diff --git a/chrome/installer/setup/install.cc b/chrome/installer/setup/install.cc |
| index 078a9ac7ff60c2cdc9ba49783fe45547b16832f8..eb178b106f5c6052b8b232a6fdba4c75cc0c03cc 100644 |
| --- a/chrome/installer/setup/install.cc |
| +++ b/chrome/installer/setup/install.cc |
| @@ -677,8 +677,9 @@ void HandleActiveSetupForBrowser(const base::FilePath& installation_root, |
| // run and this could otherwise re-install shortcuts for users that have |
| // already deleted them in the past). |
| base::FilePath first_run_sentinel; |
| - InstallUtil::GetSentinelFilePath( |
| - chrome::kFirstRunSentinel, chrome.distribution(), &first_run_sentinel); |
| + if (!PathService::Get(chrome::DIR_USER_DATA, &first_run_sentinel)) |
|
grt (UTC plus 2)
2014/03/25 17:37:06
i think you mean:
if (PathService::Get(...))
msw
2014/03/25 23:33:13
Good catch and recommendation. I've reorganized an
|
| + first_run_sentinel = first_run_sentinel.Append(chrome::kFirstRunSentinel); |
| + |
| // Decide whether to create the shortcuts or simply replace existing |
| // shortcuts; if the decision is to create them, only shortcuts whose matching |
| // all-users shortcut isn't present on the system will be created. |