| Index: chrome/browser/safe_browsing/srt_global_error_win.cc
|
| diff --git a/chrome/browser/safe_browsing/srt_global_error_win.cc b/chrome/browser/safe_browsing/srt_global_error_win.cc
|
| index 79a851a7b63c17a6940ed8f7481cd2ff8cbadcf8..4845c9b476e4a66b4af4d15065bc1a357ae8b64d 100644
|
| --- a/chrome/browser/safe_browsing/srt_global_error_win.cc
|
| +++ b/chrome/browser/safe_browsing/srt_global_error_win.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "chrome/browser/safe_browsing/srt_global_error_win.h"
|
|
|
| +#include "base/base_paths.h"
|
| #include "base/bind.h"
|
| #include "base/bind_helpers.h"
|
| #include "base/callback.h"
|
| @@ -52,6 +53,7 @@ const base::FilePath::CharType kExecutableExtension[] = L"exe";
|
|
|
| // A switch to add to the command line when executing the SRT.
|
| const char kChromePromptSwitch[] = "chrome-prompt";
|
| +const char kChromeExePathSwitch[] = "chrome-exe-path";
|
| const char kChromeSystemInstallSwitch[] = "chrome-system-install";
|
| const char kUmaUserSwitch[] = "uma-user";
|
|
|
| @@ -76,6 +78,7 @@ void MaybeExecuteSRTFromBlockingPool(
|
|
|
| base::FilePath chrome_exe_path;
|
| PathService::Get(base::FILE_EXE, &chrome_exe_path);
|
| + srt_command_line.AppendSwitchPath(kChromeExePathSwitch, chrome_exe_path);
|
| if (!InstallUtil::IsPerUserInstall(chrome_exe_path))
|
| srt_command_line.AppendSwitch(kChromeSystemInstallSwitch);
|
|
|
|
|