|
Add module-level permissions to extensions.
This first pass is fairly simple. If a permission is not specified in the
manifest, the corresponding module will not be exposed to script. For example,
without specifying the "tabs" permission, chrome.tabs and chrome.windows will
not be available.
BUG= 12140
TEST=no
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=22745
Total comments: 18
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+246 lines, -53 lines) |
Patch |
|
M |
chrome/browser/extensions/extension_function_dispatcher.cc
|
View
|
|
3 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_host.cc
|
View
|
1
2
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extensions_service_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extensions_ui.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/common/common_resources.grd
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/extension.h
|
View
|
1
|
3 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/extension.cc
|
View
|
1
|
4 chunks |
+50 lines, -25 lines |
0 comments
|
Download
|
|
M |
chrome/common/render_messages_internal.h
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/extensions/event_bindings.cc
|
View
|
|
1 chunk |
+11 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/renderer/extensions/extension_process_bindings.h
|
View
|
1
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/extensions/extension_process_bindings.cc
|
View
|
1
2
|
9 chunks |
+103 lines, -13 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/render_thread.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/render_thread.cc
|
View
|
1
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/renderer_resources.grd
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/renderer/resources/extension_process_bindings.js
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/test/data/extensions/good/Extensions/behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0/manifest.json
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/test/data/extensions/good/Extensions/bjafgdebaacbbbecmhlhpofkepfkgcpa/1.0/manifest.json
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/test/data/extensions/uitest/event_sink/manifest.json
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/test/data/extensions/uitest/roundtrip_api_call/manifest.json
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/test/data/extensions/uitest/simple_api_call/manifest.json
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/test/render_view_test.cc
|
View
|
1
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|