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

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

Issue 855513002: Add/resurrect support for bundles of WebStore items. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testext_bundle
Patch Set: fix BitmapFetcher destruction Created 5 years, 8 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
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 { 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 }));
44 }
45 ]);
46
47 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698