Fix telemetry's IsBrowserRunning check

This method currently checks to see if there's a process that matches
the _prefix_ 'org.chromium.chrome' and returns true if there is.
However, even if the browser itself is shutdown, there may be other
processes running that match that prefix which can confuse telemetry.

This patch fixes the issue by using GetApplicationPids which uses an
exact match rather than a prefix.

BUG=catapult:#3912

Review-Url: https://chromiumcodereview.appspot.com/3018503002
1 file changed
tree: bd2517f1ba0ca33457251d083a58003c7eaf13e2
  1. bin/
  2. catapult_base/
  3. catapult_build/
  4. common/
  5. dashboard/
  6. dependency_manager/
  7. devil/
  8. docs/
  9. experimental/
  10. firefighter/
  11. hooks/
  12. infra/
  13. netlog_viewer/
  14. systrace/
  15. telemetry/
  16. third_party/
  17. trace_processor/
  18. tracing/
  19. web_page_replay_go/
  20. .eslintignore
  21. .eslintrc
  22. .gitignore
  23. AUTHORS
  24. codereview.settings
  25. CONTRIBUTING.md
  26. LICENSE
  27. navbar.md
  28. OWNERS
  29. PRESUBMIT.py
  30. pylintrc
  31. README.md
  32. WATCHLISTS
README.md

Catapult

Catapult is the home for several performance tools that span from gathering, displaying and analyzing performance data. This includes:

These tools were created by Chromium developers for performance analysis, testing, and monitoring of Chrome, but they can also be used for analyzing and monitoring websites, and eventually Android apps.

Contributing

Please see our contributor's guide

Current build status