DescriptionRefactor: Make MediaCaptureDevicesDispatcher have pluggable handlers.
Codes of function ProcessMediaAccessRequest() are all located under class
MediaCaptureDevicesDispatcher at the moment, as a result,
MediaCaptureDevicesDispatcher looks quite heavy.
Add MediaAccessHandler interface for pluggable handlers for different types
of media requests. And move all logics of handling different types of
media requests to separate implementation classes.
BUG=386012
Committed: https://crrev.com/43fd86763b002480899f10184fbaba6c9581d889
Cr-Commit-Position: refs/heads/master@{#333450}
Patch Set 1 #
Total comments: 18
Patch Set 2 : Update #
Total comments: 15
Patch Set 3 : Rebase and address review comments of ps#2 #
Total comments: 28
Patch Set 4 : Remove ENABLE_EXTENSIONS checks from DesktopCapture & TabCapture. #
Total comments: 6
Patch Set 5 : Rebase & Bug fix. #Patch Set 6 : Fix tryjob error. #Messages
Total messages: 27 (7 generated)
|