|
Add a withheld permissions model to PermissionsData. Withheld permissions are the permissions which were requested by the extension, but not granted due to how dangerous/powerful they are. Currently, these withheld permissions are only used for all hosts, and only behind the scripts_require_action flag.
BUG= 362353
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281605
Total comments: 62
Total comments: 8
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+957 lines, -467 lines) |
Patch |
 |
M |
chrome/browser/extensions/active_script_controller.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+32 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/active_script_controller.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+94 lines, -49 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/active_script_controller_browsertest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/active_script_controller_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
12 chunks |
+59 lines, -46 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/active_tab_permission_granter.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_service.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_util.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/permissions_updater.h
|
View
|
1
2
3
4
5
|
2 chunks |
+14 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/permissions_updater.cc
|
View
|
1
2
3
4
5
|
7 chunks |
+176 lines, -38 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/permissions_updater_unittest.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+193 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/extensions/extension_settings_handler.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
extensions/common/extension_messages.h
|
View
|
1
2
3
4
5
6
7
|
8 chunks |
+38 lines, -16 lines |
0 comments
|
Download
|
 |
M |
extensions/common/extension_messages.cc
|
View
|
|
4 chunks |
+56 lines, -20 lines |
0 comments
|
Download
|
 |
M |
extensions/common/permissions/permission_set.cc
|
View
|
|
2 chunks |
+1 line, -29 lines |
0 comments
|
Download
|
 |
M |
extensions/common/permissions/permissions_data.h
|
View
|
1
2
3
4
5
|
8 chunks |
+56 lines, -18 lines |
0 comments
|
Download
|
 |
M |
extensions/common/permissions/permissions_data.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+72 lines, -48 lines |
0 comments
|
Download
|
 |
M |
extensions/common/permissions/permissions_data_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+0 lines, -54 lines |
0 comments
|
Download
|
 |
M |
extensions/common/url_pattern.h
|
View
|
1
2
3
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/common/url_pattern.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/common/user_script.h
|
View
|
1
2
3
4
5
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/dispatcher.h
|
View
|
1
2
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/dispatcher.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+20 lines, -50 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/programmatic_script_injector.h
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/programmatic_script_injector.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+15 lines, -16 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/script_injection.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+15 lines, -13 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/script_injector.h
|
View
|
1
2
3
4
5
|
3 chunks |
+9 lines, -12 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/user_script_injector.h
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/user_script_injector.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+13 lines, -6 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/user_script_set.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 24 (0 generated)
|