|
Consider the origin when computing extension permissions
This patch teaches the extension system to use the document's origin when
computing extension permissions. Ideally, we'd use only the document's origin,
but because app extents don't cover entire origins, we need to also consider
the document's URL.
BUG= 103630
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112655
Total comments: 7
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+133 lines, -50 lines) |
Patch |
|
M |
chrome/browser/extensions/extension_info_map_unittest.cc
|
View
|
1
2
3
4
|
3 chunks |
+20 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/extension_set.h
|
View
|
1
2
3
4
|
3 chunks |
+31 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/extension_set.cc
|
View
|
1
2
3
4
|
4 chunks |
+39 lines, -12 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/extension_set_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/chrome_content_renderer_client.cc
|
View
|
1
2
3
4
|
6 chunks |
+14 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/extensions/app_bindings.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/extensions/chrome_v8_extension.cc
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/extensions/extension_dispatcher.cc
|
View
|
1
2
3
4
|
4 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/extensions/extension_resource_request_policy.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/renderer/extensions/user_script_slave.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/renderer/extensions/user_script_slave.cc
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|