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

Unified Diff: chromeos/network/onc/onc_certificate_importer.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_certificate_importer.cc
diff --git a/chromeos/network/onc/onc_certificate_importer.cc b/chromeos/network/onc/onc_certificate_importer.cc
index 451c6d950c422e2113688ec2722b0878178f879d..2caf2735a86501afd2d715cd210c91d03d2065f9 100644
--- a/chromeos/network/onc/onc_certificate_importer.cc
+++ b/chromeos/network/onc/onc_certificate_importer.cc
@@ -74,7 +74,7 @@ bool CertificateImporter::ParseAndStoreCertificate(
const base::DictionaryValue& certificate) {
// Get out the attributes of the given certificate.
std::string guid;
- if (!certificate.GetString(kGUID, &guid) || guid.empty()) {
+ if (!certificate.GetString(network_config::kGUID, &guid) || guid.empty()) {
pneubeck (no reviews) 2013/01/18 10:27:41 (onc::)kGUID, see comment in onc_constant.h
ONC_LOG_ERROR("Certificate missing GUID identifier");
return false;
}

Powered by Google App Engine
This is Rietveld 408576698