chrome/browser: Add flag to disable HW encoding

There has been no flag to disable HW encoding, while there is a flag to disable
HW encoding specifically for webrtc. There is no way to disable HW encoding for
other use cases (e.g. cast and video recording). This adds the flag to disable
HW encoding for any use cases on a device.

Bug: 965358
Test: Confirm HW encoder is turned on/off by the flag
Change-Id: Id1661874ac019f5e2e2497485e15d765f5c27f06
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1647227
Reviewed-by: Avi Drissman <[email protected]>
Commit-Queue: Hirokazu Honda <[email protected]>
Cr-Commit-Position: refs/heads/master@{#668246}
6 files changed