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

Unified Diff: chrome/test/data/extensions/api_test/webstore_private/silently_install.html

Issue 9959079: Remove chrome.webstorePrivate.silentlyInstall. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/api/webstorePrivate.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/webstore_private/silently_install.html
diff --git a/chrome/test/data/extensions/api_test/webstore_private/silently_install.html b/chrome/test/data/extensions/api_test/webstore_private/silently_install.html
deleted file mode 100644
index 0f397770e36d3e8f2951610e7eaa69b1aee39cf5..0000000000000000000000000000000000000000
--- a/chrome/test/data/extensions/api_test/webstore_private/silently_install.html
+++ /dev/null
@@ -1,53 +0,0 @@
-<!--
- * Copyright (c) 2012 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="common.js"></script>
-<script>
-
-var extension1 = {
- 'id': 'bmfoocgfinpmkmlbjhcbofejhkhlbchk',
- 'manifest': getManifest('bundle/extension1.json')
-};
-
-var extension2 = {
- 'id': 'mpneghmdnmaolkljkipbhaienajcflfe',
- 'manifest': getManifest('bundle/extension2.json')
-};
-
-var extension3 = {
- 'id': 'begfmnajjkbjdgmffnjaojchoncnmngg',
- 'manifest': getManifest('bundle/app2.json')
-};
-
-runTests([
- function invalidID() {
- var expectedError = "Invalid id";
- chrome.webstorePrivate.silentlyInstall(
- { 'id': 'dladmdjkfniedhfhcfoefgojhgaiaccc', 'manifest': getManifest() },
- callbackFail(expectedError));
- },
-
- function successfulInstall() {
- chrome.webstorePrivate.silentlyInstall(extension1, callbackPass(function() {
- checkItemInstalled(
- extension1.id,
- callbackPass(function(result) { assertTrue(result); }));
- }));
-
- chrome.webstorePrivate.silentlyInstall(extension2, callbackPass(function() {
- checkItemInstalled(
- extension2.id,
- callbackPass(function(result) { assertTrue(result); }));
- chrome.webstorePrivate.silentlyInstall(
- extension3, callbackPass(function() {
- checkItemInstalled(
- extension3.id,
- callbackPass(function(result) { assertTrue(result); }));
- }));
- }));
- }
-]);
-
-</script>
« no previous file with comments | « chrome/common/extensions/api/webstorePrivate.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698