commit | ed85e05c4b6872a9f595e56120d61db4dd35a6bc | [log] [tgz] |
---|---|---|
author | mikhail.pozdnyakov <mikhail.pozdnyakov@intel.com> | Fri Sep 09 09:16:33 2016 |
committer | Commit bot <commit-bot@chromium.org> | Fri Sep 09 09:18:16 2016 |
tree | 3e78f01dcca4173e1959e010010749c08f627d43 | |
parent | d4b40c0933c8019b196097ceaeb2099498f5f0a9 [diff] |
[Sensors] Implement sensor data polling This patch contains implementations of SensorPollingStrategy interface, defining when sensor reading is updated from shared buffer. Also it contains logic for Suspend/Resume mojo API calls based on the page visibility. For this purpose 'SensorProxy' inherits 'PageVisibilityObserver'. Specification: https://w3c.github.io/sensors BUG=606766 Review-Url: https://codereview.chromium.org/2323683002 Cr-Commit-Position: refs/heads/master@{#417541}