forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow effectively empty ONC policies without throwing an error.
The ONC validator threw an error if both the Certificates or NetworkConfigurations sections were missing in an ONC policy. Now, we ignore that fact because we have to expect policies that only contain the new GlobalNetworkConfiguration section. BUG=386182 Review URL: https://codereview.chromium.org/350443004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279713 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
pneubeck@chromium.org
committed
Jun 25, 2014
1 parent
16738a8
commit 6bf29b2
Showing
5 changed files
with
24 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"Type": "UnencryptedConfiguration" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"GlobalNetworkConfiguration": {}, | ||
"Type": "UnencryptedConfiguration" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters