| Index: chrome/app/main_dll_loader_win.cc
|
| diff --git a/chrome/app/main_dll_loader_win.cc b/chrome/app/main_dll_loader_win.cc
|
| index 66a3034e91f9b728fc09f03b038b62dbb00c231b..38a858f4453e110450f969faabde535ab575dcd2 100644
|
| --- a/chrome/app/main_dll_loader_win.cc
|
| +++ b/chrome/app/main_dll_loader_win.cc
|
| @@ -203,6 +203,14 @@ void ChromeDllLoader::OnBeforeLaunch(const std::string& process_type,
|
| const base::FilePath& dll_path) {
|
| if (process_type.empty()) {
|
| RecordDidRun(dll_path);
|
| +
|
| + // Launch the watcher process.
|
| + base::FilePath exe_path;
|
| + if (PathService::Get(base::FILE_EXE, &exe_path)) {
|
| + chrome_watcher_client_.reset(new ChromeWatcherClient(
|
| + base::Bind(&GenerateChromeWatcherCommandLine, exe_path)));
|
| + chrome_watcher_client_->LaunchWatcher();
|
| + }
|
| } else {
|
| // Set non-browser processes up to be killed by the system after the browser
|
| // goes away. The browser uses the default shutdown order, which is 0x280.
|
|
|