|
|
Remove ExtensionURLInfo, make security decisions in render process
When asking if an extension should have access to a given frame, we need to
consider the frame's URL and also if the frame is sandboxed. We check the latter
by asking if the frame's security origin is the unique origin. However, we can
only usefully do this in the render process when examining a frame. In the
browser process or other common code, there's no useful origin to use other than
one that duplicates information in the URL.
This does security checks in the render process before doing any URL-based
lookups and then uses URLs from that point on.
R=abarth, mpcomplete
BUG= 259982, 237267
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212302
Total comments: 4
Total comments: 4
Total comments: 10
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+143 lines, -236 lines) |
Patch |
 |
M |
chrome/browser/chrome_content_browser_client.cc
|
View
|
1
2
3
4
5
6
|
12 chunks |
+19 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/offline/offline_load_page.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_function_dispatcher.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_info_map_unittest.cc
|
View
|
|
5 chunks |
+4 lines, -18 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_process_manager.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_service.cc
|
View
|
1
2
3
|
2 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_web_ui.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/navigation_observer.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/tab_helper.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/geolocation/chrome_geolocation_permission_context.cc
|
View
|
1
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media/media_stream_capture_indicator.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/nacl_host/nacl_file_host.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/nacl_host/nacl_host_message_filter.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/balloon.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/notification_options_menu_model.cc
|
View
|
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.h
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.cc
|
View
|
1
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/tab_util.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/extension_messages.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/extension_process_policy.h
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/extension_process_policy.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/extension_set.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+4 lines, -33 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/extension_set.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+15 lines, -54 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/extension_set_unittest.cc
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/chrome_content_renderer_client.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+8 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/app_bindings.cc
|
View
|
1
|
2 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/dispatcher.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/dispatcher.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+37 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/request_sender.cc
|
View
|
1
2
3
|
3 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/resource_request_policy.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 31 (0 generated)
|