Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Side by Side Diff: chrome/test/data/extensions/api_test/webstore_private/cancelled.html

Issue 6992047: Change the web store private install API to accept a localized extension name. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased, removed test files I added in separate CL Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <script src="common.js"></script> 1 <script src="common.js"></script>
2 <script> 2 <script>
3 // This tests the user cancelling an install started by 3 // This tests the user cancelling an install started by
4 // beginInstallWithManifest. 4 // beginInstallWithManifest2.
5 5
6 var manifest = getManifest(); 6 var manifest = getManifest();
7 getIconData(function(icon) { 7 getIconData(function(icon) {
8 8
9 // Begin installing. 9 // Begin installing.
10 chrome.webstorePrivate.beginInstallWithManifest(extensionId, 10 chrome.webstorePrivate.beginInstallWithManifest2({ 'id':extensionId,
11 icon, 11 'iconData': icon,
12 manifest, 12 'manifest': manifest },
13 function(result) { 13 function(result) {
14 assertEq(result, "user_cancelled"); 14 assertEq(result, "user_cancelled");
15 succeed(); 15 succeed();
16 }); 16 });
17 }); 17 });
18 </script> 18 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698