Refactor classes in wmr_origins.h
Refactors all the classes in //device/vr/windows_mixed_reality/wrappers/wmr_origins.h to inherit from an interface, and switches the mock versions to inherit from the same interface instead of subclassing the real versions. Also moves the static creation functions into factories in //device/vr/windows_mixed_reality/wrappers/wmr_wrapper_factories.h, which now guarantee that the mock and real classes can't be mixed together. Bug: 961020 Change-Id: I0928bcadc9d942bd6ea513c156c832ffcaf0433f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1603748Reviewed-by:Bill Orr <billorr@chromium.org> Commit-Queue: Brian Sheedy <bsheedy@chromium.org> Cr-Commit-Position: refs/heads/master@{#659124}
Showing
Please register or sign in to comment