Replace GLib timeouts with base::{OneShotTimer,RepeatingTimer}.

BUG=chromium:350336
TEST=Tested the following:
1. Build and run unit tests.
2. Run network_WiMaxPresent and network_WiMaxSmoke.
3. Verify that WiMAX manager stops scanning for a WiMAX module after
   about 15s on a DUT without a WiMAX module.
4. Test adjusting network scan and status update interval via:

    dbus-send --system --dest=org.chromium.WiMaxManager \
        /org/chromium/WiMaxManager/Device/wm0 \
        org.freedesktop.DBus.Properties.Set \
        string:org.chromium.WiMaxManager.Device \
        string:NetworkScanInterval \
        variant:uint32:5

    dbus-send --system --dest=org.chromium.WiMaxManager \
        /org/chromium/WiMaxManager/Device/wm0 \
        org.freedesktop.DBus.Properties.Set \
        string:org.chromium.WiMaxManager.Device \
        string:StatusUpdateInterval \
        variant:uint32:5

Change-Id: I7e42c3857ba1ce78afb638790c08b25ec6a3b2fa
Reviewed-on: https://chromium-review.googlesource.com/189211
Tested-by: Ben Chan <benchan@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
6 files changed