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

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

Issue 11962048: This adds Cellular to the Shill to ONC translation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix some semantics Created 7 years, 11 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: chromeos/network/onc/onc_utils.cc
diff --git a/chromeos/network/onc/onc_utils.cc b/chromeos/network/onc/onc_utils.cc
index c66d1e843fb4993b7e39b538c6a3c35931f4372f..c07823704b2a23364d8d7a29bae62aa6769a6062 100644
--- a/chromeos/network/onc/onc_utils.cc
+++ b/chromeos/network/onc/onc_utils.cc
@@ -68,7 +68,7 @@ scoped_ptr<base::DictionaryValue> Decrypt(const std::string& passphrase,
!root.GetInteger(encrypted::kIterations, &iterations) ||
!root.GetString(encrypted::kSalt, &salt) ||
!root.GetString(encrypted::kStretch, &stretch_method) ||
- !root.GetString(kType, &onc_type) ||
+ !root.GetString(network_config::kType, &onc_type) ||
pneubeck (no reviews) 2013/01/18 10:27:41 toplevel_config::kType
Greg Spencer (Chromium) 2013/01/18 22:27:44 Done.
onc_type != kEncryptedConfiguration) {
ONC_LOG_ERROR("Encrypted ONC malformed.");

Powered by Google App Engine
This is Rietveld 408576698