summaryrefslogtreecommitdiff
path: root/supplicant_interface_proxy.cc
AgeCommit message (Collapse)Author
2011-07-19shill: Convert DHCP Proxy to use a model similar to Supplicant and ModemManager.Darin Petkov
Also, don't create a DBus connection for each proxy since this doesn't work in some event callbacks and wastes resources. Instead use a shared connection provided by the ProxyFactory. BUG=chromium-os:17735 TEST=unit tests, tested on device Change-Id: I4d16b430783c1159501c0414ef3b846bce1a4c0e Reviewed-on: http://gerrit.chromium.org/gerrit/4279 Tested-by: Darin Petkov <petkov@chromium.org> Reviewed-by: mukesh agrawal <quiche@chromium.org>
2011-07-18shill: refactor supplicant_process_proxy and supplicant_interface_proxymukesh agrawal
move these to separate files, and add a layer of indirection. this is a step towards adding more unittests for wifi. (after breaking out these classes, we can define mocks of them.) BUG=chromium-os:16785 TEST=FEATURES="test nostrip noclean" emerge-x86-generic shill Change-Id: I18570d47514bac0493d053f1a82b4d79a1565ad2 Reviewed-on: http://gerrit.chromium.org/gerrit/4117 Reviewed-by: mukesh agrawal <quiche@chromium.org> Tested-by: mukesh agrawal <quiche@chromium.org>