|
|
Move ChromeOS login media access logic into a MediaAccessHandler
Currently the ChromeOS login screen media access logic is handled as a part of
the PermissionBubbleMediaAccessHandler. However its permission handling logic
is totally different to how permission requests are handled for drive-by pages.
This moves the logic into its own MediaAccessHandler. Some code is shared with
the ExtensionMediaAccessHandler. WebUILoginView::RequestMediaAccessPermission
is changed to go through the MediaCaptureDevicesDispatcher which matches the
codepath for other media permission requests.
BUG= 596786
Review-Url: https://codereview.chromium.org/2746873004
Cr-Commit-Position: refs/heads/master@{#463454}
Committed: https://chromium.googlesource.com/chromium/src/+/2edae96f04b07205ce7b3ad83af879bcec2318a2
Total comments: 13
Total comments: 4
Total comments: 23
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+313 lines, -193 lines) |
Patch |
 |
M |
chrome/browser/BUILD.gn
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/saml/saml_browsertest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+23 lines, -34 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/ui/webui_login_view.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/webview_login_browsertest.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/media/chromeos_login_media_access_handler.h
|
View
|
1
2
3
|
2 chunks |
+11 lines, -9 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/media/chromeos_login_media_access_handler.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+96 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media/extension_media_access_handler.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/media/extension_media_access_handler.cc
|
View
|
|
4 chunks |
+3 lines, -62 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media/media_access_handler.h
|
View
|
|
2 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
 |
A |
chrome/browser/media/media_access_handler.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+82 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media/public_session_media_access_handler.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/media/public_session_media_access_handler.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/media/public_session_tab_capture_access_handler.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/media/public_session_tab_capture_access_handler.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/media/webrtc/desktop_capture_access_handler.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/media/webrtc/desktop_capture_access_handler.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media/webrtc/media_capture_devices_dispatcher.cc
|
View
|
1
2
3
4
5
6
|
8 chunks |
+29 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media/webrtc/media_permission.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+0 lines, -67 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media/webrtc/permission_bubble_media_access_handler.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/media/webrtc/permission_bubble_media_access_handler.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media/webrtc/tab_capture_access_handler.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/media/webrtc/tab_capture_access_handler.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 54 (34 generated)
|