commit | f144d5df124e56f3df3b6982b85bffd0442ac2d0 | [log] [tgz] |
---|---|---|
author | Samuel Tan <samueltan@chromium.org> | Tue Nov 25 18:18:01 2014 -0800 |
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Wed Nov 26 18:15:49 2014 +0000 |
tree | c4cfac3afbce93dd0237bf827e1fd7c9430c6406 | |
parent | ff6be29bd74abd31640abcf9ad4332e0a9657196 [diff] |
shill: add metrics for VerifyWakeOnWiFiSettings Add metrics to report the results of VerifyWakeOnWiFiSettings. This will provide data to understand whether or not the wake on WiFi setting verification process is necessary. Also: - Add unit tests to ensure the metric is reported in WakeOnWiFi. - Remove previously unused mock method in MockMetrics. - Remove unnecessary virtual flag from Metrics::NotifyWakeOnWiFiFeaturesEnabledState since this function is not mocked. BUG=chromium:436106 TEST=Compile shill and run unit tests. Change-Id: I95a2d1296841545a7c31439ec4c748e359316ea2 Reviewed-on: https://chromium-review.googlesource.com/231973 Tested-by: Samuel Tan <samueltan@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Samuel Tan <samueltan@chromium.org>