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

Unified Diff: chrome/test/data/extensions/api_test/networking_private/chromeos/test.js

Issue 2620463003: Add getGlobalPolicy to networkingPrivate API. (Closed)
Patch Set: Add dcheck Created 3 years, 11 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/networking_private/chromeos/test.js
diff --git a/chrome/test/data/extensions/api_test/networking_private/chromeos/test.js b/chrome/test/data/extensions/api_test/networking_private/chromeos/test.js
index 51c3de117d0fb3809499b4fbca96c31ddfd589c5..28bca7f5064c15f4b000791e904bc2b28675d46f 100644
--- a/chrome/test/data/extensions/api_test/networking_private/chromeos/test.js
+++ b/chrome/test/data/extensions/api_test/networking_private/chromeos/test.js
@@ -873,7 +873,15 @@ var availableTests = [
}));
}));
})));
- }
+ },
+ function getGlobalPolicy() {
+ chrome.networkingPrivate.getGlobalPolicy(callbackPass(function(result) {
+ assertEq({
+ AllowOnlyPolicyNetworksToAutoconnect: true,
+ AllowOnlyPolicyNetworksToConnect: false,
+ }, result);
+ }));
+ },
];
chrome.test.getConfig(function(config) {

Powered by Google App Engine
This is Rietveld 408576698