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

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

Issue 270793002: webstorePrivate: Support an |authuser| property in beginInstallWithManifest3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Let authuser pass thru as a string rather than forcing int Created 6 years, 7 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
« no previous file with comments | « chrome/common/extensions/api/webstore_private.json ('k') | extensions/common/constants.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!-- 1 <!--
2 * Copyright (c) 2012 The Chromium Authors. All rights reserved. Use of this 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 3 * source code is governed by a BSD-style license that can be found in the
4 * LICENSE file. 4 * LICENSE file.
5 --> 5 -->
6 <script src="common.js"></script> 6 <script src="common.js"></script>
7 <script> 7 <script>
8 8
9 runTests([ 9 runTests([
10 function beginInstallWithAppBubble() { 10 function beginInstallWithAppBubble() {
11 var manifest = getManifest("app/manifest.json"); 11 var manifest = getManifest("app/manifest.json");
12 chrome.webstorePrivate.beginInstallWithManifest3( 12 chrome.webstorePrivate.beginInstallWithManifest3(
13 {id: appId, manifest: manifest, appInstallBubble: true}, 13 {id: appId, manifest: manifest, appInstallBubble: true, authuser: "2"},
14 callbackPass(function(result) { 14 callbackPass(function(result) {
15 assertEq("", result); 15 assertEq("", result);
16 })); 16 }));
17 }, 17 },
18 18
19 function beginInstallWithNoAppBubble() { 19 function beginInstallWithNoAppBubble() {
20 var manifest = getManifest(); 20 var manifest = getManifest();
21 chrome.webstorePrivate.beginInstallWithManifest3( 21 chrome.webstorePrivate.beginInstallWithManifest3(
22 {id: extensionId, manifest: manifest}, 22 {id: extensionId, manifest: manifest},
23 callbackPass(function(result) { 23 callbackPass(function(result) {
24 assertEq("", result); 24 assertEq("", result);
25 })); 25 }));
26 }, 26 },
27 ]); 27 ]);
28 28
29 </script> 29 </script>
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/webstore_private.json ('k') | extensions/common/constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698