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

Unified Diff: chrome/test/data/extensions/platform_apps/ephemeral_launcher/webstore_common.js

Issue 1395043002: Remove ability for users to launch ephemeral apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
Index: chrome/test/data/extensions/platform_apps/ephemeral_launcher/webstore_common.js
diff --git a/chrome/test/data/extensions/platform_apps/ephemeral_launcher/webstore_common.js b/chrome/test/data/extensions/platform_apps/ephemeral_launcher/webstore_common.js
deleted file mode 100644
index f79d086eb181d812558c4662bf91f3d5604b2838..0000000000000000000000000000000000000000
--- a/chrome/test/data/extensions/platform_apps/ephemeral_launcher/webstore_common.js
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2014 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.
-
-// Error codes and messages.
-var kFeatureDisabledCode = "feature_disabled";
-var kFeatureDisabledError =
- "[feature_disabled]: Launching ephemeral apps is not enabled";
-var kFeatureUserGestureCode = "user_gesture_required";
-var kFeatureUserGestureError =
- "[user_gesture_required]: User gesture is required";
-var kInstallInProgressCode = "install_in_progress";
-var kInstallInProgressError =
- "[install_in_progress]: An install is already in progress";
-var kUnsupportedExtensionTypeCode = "unsupported_extension_type";
-var kUnsupportedExtensionTypeError =
- "[unsupported_extension_type]: Not an app";
-
-// App ids.
-var kDefaultAppId = "kbiancnbopdghkfedjhfdoegjadfjeal";
-var kDefaultAppManifestPath = "app/manifest.json";
-var kAppWithPermissionsId = "mbfcnecjknjpipkfkoangpfnhhlpamki";
-var kAppWithPermissionsManifestPath = "app_with_permissions/manifest.json";
-var kExtensionId = "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeid";
-
-var assertEq = chrome.test.assertEq;
-var assertFalse = chrome.test.assertFalse;
-var assertTrue = chrome.test.assertTrue;
-var callbackFail = chrome.test.callbackFail;
-var callbackPass = chrome.test.callbackPass;
-
-// Returns the string contents of the app's manifest file.
-function getManifest(path) {
- // Do a synchronous XHR to get the manifest.
- var xhr = new XMLHttpRequest();
- xhr.open("GET", path, false);
- xhr.send(null);
- return xhr.responseText;
-}

Powered by Google App Engine
This is Rietveld 408576698