commit | 40a014862d79843026e06ef0cc0e3bc1463fe518 | [log] [tgz] |
---|---|---|
author | Peter Qiu <zqiu@chromium.org> | Fri Oct 31 11:54:23 2014 -0700 |
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Mon Nov 03 23:41:11 2014 +0000 |
tree | 080bce6fe3fefeb82a7888271911a36f593b1d0a | |
parent | 02e3dc3bc6e9fdb475bd13944f1c6764c921abbb [diff] |
shill: remove glib dependency from libshill-net Pull glib's IO handlers out from libshill-net to eliminate its dependency on glib. This is desired since the applications that uses this library might not want this extra dependency. This is achieved by adding an IOHandlerFactoryContainer for setting/accessing IOHandlerFactory. By default. the container will create an IOHandlerFactory that create IOHandlers base on the libbase's FileDescriptorWatcher. The caller can implement its own IOHandlerFactory and IOHandlers to overwrite this default behavior. For example, shill's glib IOHandlers. BUG=chromium:427982 TEST=unittests, run wifi_matfunc for shill regression test Change-Id: I92b853309d520f499b9bb2736211cdd3bb3c268f Reviewed-on: https://chromium-review.googlesource.com/226833 Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Peter Qiu <zqiu@chromium.org> Tested-by: Peter Qiu <zqiu@chromium.org>