Chromium Code Reviews| 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_ |