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

Unified Diff: chromeos/network/onc/onc_validator.cc

Issue 366273002: Update onc_spec.html to match implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comment. Created 6 years, 5 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
« no previous file with comments | « no previous file | components/onc/docs/onc_spec.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/onc/onc_validator.cc
diff --git a/chromeos/network/onc/onc_validator.cc b/chromeos/network/onc/onc_validator.cc
index 54cb8eddc5f36e86c9011ea7ea26b735bb52790f..f4bec524d5a82f4bace3b02875b50de500b9e74c 100644
--- a/chromeos/network/onc/onc_validator.cc
+++ b/chromeos/network/onc/onc_validator.cc
@@ -431,12 +431,6 @@ bool Validator::ValidateToplevelConfiguration(base::DictionaryValue* result) {
if (FieldExistsAndHasNoValidValue(*result, kType, valid_types))
return false;
- // Not part of the ONC spec:
- // - We don't require the type field (we assume that it's an
- // UnencryptedConfiguration then).
- // - We don't require specific toplevel objects to be present (e.g. at least
- // one of NetworkConfiguration or Certificates).
-
if (IsGlobalNetworkConfigInUserImport(*result))
return false;
« no previous file with comments | « no previous file | components/onc/docs/onc_spec.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698