sensor-helpers.js: Move sensor-specific settings in MockSensorProvider to a separate class.
Rather than having several mappings for sensor-specific settings and providing methods to change them in MockSensorProvider, move all of them to a separate SensorTypeSettings class. This makes it easier to note which methods are really MockSensorProvider's and which are changing sensor-specific settings for when MockSensorProvider gets to create a MockSensor. Bug: 987639 Change-Id: I57daa09506e15af16d747a48e6250f53f3644e54 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1718378 Commit-Queue: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> Auto-Submit: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> Reviewed-by:Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#684265}
Showing
Please register or sign in to comment