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

Unified Diff: chrome/test/data/extensions/api_test/management/test/common.js

Issue 10825310: Add a 'type' property to ExtensionInfo (chrome.management). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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/api_test/management/test/common.js
diff --git a/chrome/test/data/extensions/api_test/management/test/common.js b/chrome/test/data/extensions/api_test/management/test/common.js
index 820220f7f695ea8bfa4a2ac5b146fc784971595c..6a4286e2fc552c61e01244ae50d0760d5fe09614 100644
--- a/chrome/test/data/extensions/api_test/management/test/common.js
+++ b/chrome/test/data/extensions/api_test/management/test/common.js
@@ -21,13 +21,13 @@ function getItemNamed(list, name) {
return null;
}
-// Verifies that the item's name, enabled, and isApp properties match |name|,
-// |enabled|, and |isApp|, and checks against any additional name/value
+// Verifies that the item's name, enabled, and type properties match |name|,
+// |enabled|, and |type|, and checks against any additional name/value
// properties from |additional_properties|.
-function checkItem(item, name, enabled, isApp, additional_properties) {
+function checkItem(item, name, enabled, type, additional_properties) {
assertTrue(item !== null);
assertEq(name, item.name);
- assertEq(isApp, item.isApp);
+ assertEq(type, item.type);
assertEq(enabled, item.enabled);
for (var propname in additional_properties) {
@@ -40,9 +40,9 @@ function checkItem(item, name, enabled, isApp, additional_properties) {
}
// Gets an extension/app with |name| in |list|, verifies that its enabled
-// and isApp properties match |enabled| and |isApp|, and checks against any
+// and type properties match |enabled| and |type|, and checks against any
// additional name/value properties from |additional_properties|.
-function checkItemInList(list, name, enabled, isApp, additional_properties) {
+function checkItemInList(list, name, enabled, type, additional_properties) {
var item = getItemNamed(list, name);
- checkItem(item, name, enabled, isApp, additional_properties);
+ checkItem(item, name, enabled, type, additional_properties);
}

Powered by Google App Engine
This is Rietveld 408576698