|
Add link URL and success/failure callback parameters to chrome.webstore.install()
The link URL is used to select between multiple <link rel="chrome-webstore-item">
elements on the page.
To keep track of callbacks, an install ID is generated at the start of each
chrome.webstore.install() call, so that the browser knows which ones to invoke
when an install completes.
Also adds validation of install requesting URL against the item's verified
domain (wasn't done until now since it wasn't testable).
R=aa@chromium.org
BUG= 93380
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99889
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+370 lines, -69 lines) |
Patch |
 |
M |
chrome/browser/extensions/extension_tab_helper.h
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_tab_helper.cc
|
View
|
|
2 chunks |
+10 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/webstore_inline_install_browsertest.cc
|
View
|
|
6 chunks |
+32 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/webstore_inline_installer.h
|
View
|
|
3 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/webstore_inline_installer.cc
|
View
|
|
5 chunks |
+35 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/extension_messages.h
|
View
|
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/chrome_webstore_bindings.h
|
View
|
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/chrome_webstore_bindings.cc
|
View
|
1
|
7 chunks |
+128 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/extension_render_view_helper.h
|
View
|
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/extension_render_view_helper.cc
|
View
|
|
2 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/extension_renderer_context.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/webstore_inline_install/argument_validation.html
|
View
|
|
1 chunk |
+71 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/webstore_inline_install/find_link.html
|
View
|
|
2 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/webstore_inline_install/inlineinstall/detail/ecglahbcnmdpdciemllbhojghbkagdje
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/webstore_inline_install/install.html
|
View
|
|
1 chunk |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/webstore_inline_install/install-non-verified-domain.html
|
View
|
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|