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

Unified Diff: chrome/browser/chromeos/network_settings/onc_validator.h

Issue 10944009: Implementation of ONC signature, validator and normalizer. (Closed) Base URL: http://git.chromium.org/chromium/src.git@gperffix
Patch Set: Created 8 years, 3 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/browser/chromeos/network_settings/onc_validator.h
diff --git a/chrome/browser/chromeos/network_settings/onc_validator.h b/chrome/browser/chromeos/network_settings/onc_validator.h
new file mode 100644
index 0000000000000000000000000000000000000000..db36658940577ce6b3cd0ac8a16d43055ffc842c
--- /dev/null
+++ b/chrome/browser/chromeos/network_settings/onc_validator.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_CHROMEOS_NETWORK_SETTINGS_ONC_VALIDATOR_H_
+#define CHROME_BROWSER_CHROMEOS_NETWORK_SETTINGS_ONC_VALIDATOR_H_
+
+namespace base {
+class DictionaryValue;
+} // namespace base
+
+namespace chromeos {
+namespace onc {
+
+class ONCValidator {
Mattias Nissler (ping if slow) 2012/09/18 16:29:08 same comment about making this a namespace if it d
pneubeck (no reviews) 2012/10/02 15:03:02 Done.
+ public:
+ static void RemoveIgnoredFieldsFromIPsec(base::DictionaryValue* ipsec);
+ static void RemoveIgnoredFieldsFromVPN(base::DictionaryValue* vpn);
+ static void RemoveIgnoredFieldsFromNetwork(base::DictionaryValue* network);
Mattias Nissler (ping if slow) 2012/09/18 16:29:08 The names don't exactly suggest this is validation
pneubeck (no reviews) 2012/10/02 15:03:02 Done.
+};
+
+} // namespace onc
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_CHROMEOS_NETWORK_SETTINGS_ONC_VALIDATOR_H_

Powered by Google App Engine
This is Rietveld 408576698