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

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

Issue 11415148: Adding error handling to ONC validation. (Closed) Base URL: http://git.chromium.org/chromium/src.git@extract_onc_certificate
Patch Set: Initial patch. Created 8 years, 1 month 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_utils.h
diff --git a/chrome/browser/chromeos/network_settings/onc_utils.h b/chrome/browser/chromeos/network_settings/onc_utils.h
index 1d98081168d8283138e6dea7c21fd5a5300ebb5c..0976e853b0214a258639cda77451471494491db0 100644
--- a/chrome/browser/chromeos/network_settings/onc_utils.h
+++ b/chrome/browser/chromeos/network_settings/onc_utils.h
@@ -16,6 +16,10 @@ class DictionaryValue;
namespace chromeos {
namespace onc {
+// A valid but empty (no networks and no certificates) and unencrypted
+// configuration.
+extern const char kEmptyUnencryptedConfiguration[];
+
// Parses |json| according to the JSON format. If |json| is a JSON formatted
// dictionary, the function returns the dictionary as a DictionaryValue and
// doesn't modify |error|. Otherwise returns NULL and sets |error| to a

Powered by Google App Engine
This is Rietveld 408576698