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

Unified Diff: chrome/test/data/extensions/api_test/chromeos_info_private/basic/background.js

Issue 2686233006: Add managed device signal (Closed)
Patch Set: Minor changes in comments Created 3 years, 10 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/chromeos_info_private/basic/background.js
diff --git a/chrome/test/data/extensions/api_test/chromeos_info_private/basic/background.js b/chrome/test/data/extensions/api_test/chromeos_info_private/basic/background.js
index f0808fc754af8d0a17288f8473a69e501c326994..60f4c82deaa89a2aaf1d9e322d12fdd0c5c2438c 100644
--- a/chrome/test/data/extensions/api_test/chromeos_info_private/basic/background.js
+++ b/chrome/test/data/extensions/api_test/chromeos_info_private/basic/background.js
@@ -23,6 +23,9 @@ function getTestFunctionFor(keys, fails) {
if (keys[i] == 'playStoreStatus') {
chrome.test.assertEq('not available', values[keys[i]]);
}
+ if (keys[i] == 'managedDeviceStatus') {
+ chrome.test.assertEq('not managed', values[keys[i]]);
+ }
// Debug
if (keys[i] in values) {
console.log(' values["' + keys[i] + '"] = ' +
@@ -117,6 +120,7 @@ var tests = generateTestsForKeys(['hwid',
'isOwner',
'sessionType',
'playStoreStatus',
+ 'managedDeviceStatus',
'clientId',
'a11yLargeCursorEnabled',
'a11yStickyKeysEnabled',

Powered by Google App Engine
This is Rietveld 408576698