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

Unified Diff: chrome/common/extensions/api/networking_private.json

Issue 12676017: Adding policy support to the new network configuration stack. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed remaining comments of Steven. Created 7 years, 8 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/common/extensions/api/networking_private.json
diff --git a/chrome/common/extensions/api/networking_private.json b/chrome/common/extensions/api/networking_private.json
index b6970e714517fe1c68d115fc26be13e1aee91e5a..acbf972f0abf272a968a90e200e63df9eafc50f1 100644
--- a/chrome/common/extensions/api/networking_private.json
+++ b/chrome/common/extensions/api/networking_private.json
@@ -16,6 +16,11 @@
"additionalProperties": { "type": "any" }
},
{
+ "id": "ManagedNetworkProperties",
+ "type": "object",
+ "additionalProperties": { "type": "any" }
+ },
+ {
"id": "VerificationProperties",
"type": "object",
"properties": {
@@ -66,6 +71,28 @@
]
},
{
+ "name": "getManagedProperties",
+ "description": "Gets the merged properties of the network with id networkGuid from the sources: User settings, shared settings, user policy and device policy.",
+ "parameters": [
+ {
+ "name": "networkGuid",
+ "type": "string",
+ "description": "The unique identifier of the network to get properties from."
+ },
+ {
+ "name": "callback",
+ "type": "function",
+ "parameters": [
+ {
+ "name": "properties",
+ "$ref": "ManagedNetworkProperties",
+ "description": "Results of the query for managed network properties."
+ }
+ ]
+ }
+ ]
+ },
+ {
"name": "getState",
"description": "Gets the cached read-only properties of the network with id networkGuid. This is meant to be a higher performance function than getProperties, which requires a round trip to query the networking subsystem. It only returns a subset of the properties returned by getProperties.",
"parameters": [

Powered by Google App Engine
This is Rietveld 408576698