Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / test / data / extensions / api_test / webstore_private / install_bundle.html
blob22b4284e856d8e1907d2df92da5a20d90954a05b
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>
9 var bundleItems = [
11 id: 'begfmnajjkbjdgmffnjaojchoncnmngg',
12 manifest: getManifest('bundle/app1.json'),
13 localizedName: 'app.1'
16 id: 'mpneghmdnmaolkljkipbhaienajcflfe',
17 manifest: getManifest('bundle/app2.json'),
18 localizedName: 'app.2'
21 id: 'bmfoocgfinpmkmlbjhcbofejhkhlbchk',
22 manifest: getManifest('bundle/extension1.json'),
23 localizedName: 'extension.1'
26 id: 'pkapffpjmiilhlhbibjhamlmdhfneidj',
27 manifest: getManifest('bundle/extension2.json'),
28 localizedName: 'extension.2'
32 runTests([
33 function successfulInstall() {
34 chrome.webstorePrivate.installBundle(
35 { localizedName: 'MyBundle' },
36 bundleItems,
37 callbackPass(function() {
38 bundleItems.forEach(function(item) {
39 checkItemInstalled(
40 item.id,
41 callbackPass(function(result) { assertTrue(result); }));
42 });
43 }));
45 ]);
47 </script>