|
|
Use PermissionType instead of ContentSettingsType in Android permission infobars
Content settings layer is more about storage below the permission layer, so we
should use PermissionType instead of ContentSettingsType in Android permission
infobars.
This CL migrated PermissionInfoBar and GroupedPermissionInfoBar to use
permission types. This also has benefits of removing the content_settings_type_
member variable in PermissionInfoBarDelegate, which currently is using both
content_settings_type_ and permission_type_ in all subclasses.
BUG= 458606
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+105 lines, -70 lines) |
Patch |
 |
M |
chrome/BUILD.gn
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/android/BUILD.gn
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/infobar/GroupedPermissionInfoBar.java
|
View
|
|
3 chunks |
+12 lines, -12 lines |
1 comment
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/infobar/PermissionInfoBar.java
|
View
|
|
5 chunks |
+30 lines, -31 lines |
2 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java
|
View
|
1
|
3 chunks |
+25 lines, -0 lines |
1 comment
|
Download
|
 |
M |
chrome/browser/geolocation/geolocation_infobar_delegate_android.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/media/midi_permission_infobar_delegate_android.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/media/protected_media_identifier_infobar_delegate_android.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/media/webrtc/media_stream_infobar_delegate_android.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/media/webrtc/media_stream_infobar_delegate_android.cc
|
View
|
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/notification_permission_infobar_delegate.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/permissions/grouped_permission_infobar_delegate_android.h
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/permissions/grouped_permission_infobar_delegate_android.cc
|
View
|
|
2 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/permissions/permission_infobar_delegate.h
|
View
|
|
4 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/permissions/permission_infobar_delegate.cc
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/android/infobars/grouped_permission_infobar.cc
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/android/infobars/permission_infobar.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
1 comment
|
Download
|
 |
M |
content/public/browser/permission_type.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 17 (14 generated)
|