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

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

Issue 9414013: Add a webstore API for installing bundles of extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix debug build Created 8 years, 10 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
(Empty)
1 <!--
2 * Copyright (c) 2012 The Chromium Authors. All rights reserved. Use of this
3 * source code is governed by a BSD-style license that can be found in the
4 * LICENSE file.
5 -->
6 <script src="common.js"></script>
7 <script>
8
9 var bundleItems = [
10 {
11 id: 'begfmnajjkbjdgmffnjaojchoncnmngg',
12 manifest: getManifest('bundle/app1.json'),
13 localizedName: 'app.1'
14 },
15 {
16 id: 'mpneghmdnmaolkljkipbhaienajcflfe',
17 manifest: getManifest('bundle/app2.json'),
18 localizedName: 'app.2'
19 },
20 {
21 id: 'bmfoocgfinpmkmlbjhcbofejhkhlbchk',
22 manifest: getManifest('bundle/extension1.json'),
23 localizedName: 'extension.1'
24 },
25 {
26 id: 'pkapffpjmiilhlhbibjhamlmdhfneidj',
27 manifest: getManifest('bundle/extension2.json'),
28 localizedName: 'extension.2'
29 }
30 ];
31
32 runTests([
33 function successfulInstall() {
34 chrome.webstorePrivate.installBundle(
35 bundleItems, callbackPass(function() {
36 bundleItems.forEach(function(item) {
37 checkItemInstalled(
38 item.id,
39 callbackPass(function(result) { assertTrue(result); }));
40 });
41 }));
42 }
43 ]);
44
45 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698