For now it exposes the same method as the PressureManager Mojo interface
in //services, but they will ultimately diverge when the latter starts
supporting virtual pressure sources.
Make Blink's FakePressureService inherit from WebPressureManager, not
//service's PressureManager. SetBinderForTesting() can only intercept
requests from Blink, which means it should be intercepting attempts to
connect to the WebPressureManager interface instead.
For now it exposes the same method as the PressureManager Mojo interface in //services, but they will ultimately diverge when the latter starts supporting virtual pressure sources.
Make Blink's FakePressureService inherit from WebPressureManager, not //service's PressureManager. SetBinderForTesting() can only intercept requests from Blink, which means it should be intercepting attempts to connect to the WebPressureManager interface instead.
Bug: 347031400 Change-Id: I19da6513c2e5328780ea0f7ec9bc66e4ce9d9e26 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5660418 Reviewed-by: Arnaud Mandy \arnaud.mandy@intel.com Reviewed-by: Hiroki Nakagawa \nhiroki@chromium.org Reviewed-by: danakj \danakj@chromium.org Reviewed-by: Reilly Grant \reillyg@chromium.org Commit-Queue: Raphael Kubo Da Costa \raphael.kubo.da.costa@intel.com Cr-Commit-Position: refs/heads/main@{#1321579}