
This is a reland of commit fd87acad32
Original CL was failing in CI because of a missing dependency from
content/browser:browser to services/video_effects/public/mojom:mojom
target (now required because of a transitive include). This was
missing because content/brower:browser does not depend on the target
where the public_deps entry was added. The reland addresses it by
explicitly adding the dependency, compare PS1 and PS2 to see the
change.
Original change's description:
> Expose effects processor from MediaEffectsService up to content client
>
> Additionally, add unit tests for VideoEffectsProcessor that mostly
> mimic the tests that have been written for Video Effects Manager. This
> also includes a basic fake implementation of VideoEffectsService and
> VideoEffectsProcessor.
>
> MediaEffectsService header file also now exposes a way to override the
> VideoEffectsService for testing, as otherwise it'd have to spawn a new
> utility process, and this is not desired in unittests.
>
> Bug: b:328118837
> Change-Id: Id096ecb09e0059d660896d743b80c991915dc4ff
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5353891
> Reviewed-by: Bryant Chandler <bryantchandler@chromium.org>
> Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
> Commit-Queue: Piotr Bialecki <bialpio@chromium.org>
> Reviewed-by: Daniel Cheng <dcheng@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1278592}
Bug: b:328118837
Change-Id: I7373387ed8478a3df654196c88b831421e82709d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5401456
Commit-Queue: Piotr Bialecki <bialpio@chromium.org>
Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Theresa Sullivan <twellington@chromium.org>
Reviewed-by: Bryant Chandler <bryantchandler@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1279231}
The MediaEffectsService provides the source of truth for media effect config and control of camera input from the Video Capture Service via browser-context-keyed effect managers that are able to get/set prefs and communicate configuration to Browser UI, contents, and the Video Effects Service.