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 Review URL: http://codereview.chromium.org/7795032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99889 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment