crash-reporter: Create a list_proxies command

Create a list_proxies command to be used by crash_sender to determine the correct proxy for a URL.  This uses D-Bus to get them from either the browser or the session manager.

TEST=Ran list_proxies command manually to test response for various URLs: "http://...", "https://...", empty/NULL, and invalid (eg. just "").  Also did this for the various proxy settings in the browser: direct, manual proxy configuration, and automatic proxy configuration.  Ran list_proxies command using invalid D-Bus method name for proxy_resolver.StartMonitoring() to make sure timeout works.  Ran a modified crash_sender manually to make sure it passed the appropriate "--proxy" arguments correctly.

Review URL:

Change-Id: I738a4544f90218ffc7c2d36547de49b462ca749e
2 files changed
tree: 72b12ce539b6837ce8ecfce31d3ff55fa0c39b4f
  1. crash_reporter/