tlsdate: Use org.chromium.NetworkProxyService.

Make tlsdated make async method calls to the
org.chromium.NetworkProxyService D-Bus service to resolve
proxy information. This replaces old, weird
signal-requesting calls to org.chromium.LibCrosService.

Also remove some unused DBusError variables.

BUG=chromium:446115,chromium:703217
TEST=added logging and verified via /var/log/tlsdate.log
     that tlsdated is using proxy information configured in
     chrome

Change-Id: I665e2c78ac00e78ff4f6692c0b9b060ca5d92c4e
Reviewed-on: https://chromium-review.googlesource.com/487611
Commit-Ready: Dan Erat <derat@chromium.org>
Tested-by: Dan Erat <derat@chromium.org>
Reviewed-by: Dan Erat <derat@chromium.org>
Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
1 file changed