| Index: chrome/test/mini_installer/process_verifier.py
|
| diff --git a/chrome/test/mini_installer/process_verifier.py b/chrome/test/mini_installer/process_verifier.py
|
| index a23605619bbe73b5fd1d202d34dc8d5242cbf8fd..3c4beb5a3c499a7a47c6f2db054cf2e4b9621241 100644
|
| --- a/chrome/test/mini_installer/process_verifier.py
|
| +++ b/chrome/test/mini_installer/process_verifier.py
|
| @@ -2,8 +2,7 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -import psutil
|
| -
|
| +import chrome_helper
|
| import path_resolver
|
|
|
|
|
| @@ -22,11 +21,8 @@ def VerifyProcesses(processes):
|
| """
|
| # Create a list of paths of all running processes.
|
| running_process_paths = []
|
| - for process in psutil.process_iter():
|
| - try:
|
| - running_process_paths.append(process.exe)
|
| - except psutil.AccessDenied:
|
| - pass
|
| + for _, process_path in chrome_helper.GetProcessIDAndPathPairs():
|
| + running_process_paths.append(process_path)
|
|
|
| for process_path, expectation in processes.iteritems():
|
| process_resolved_path = path_resolver.ResolvePath(process_path)
|
|
|