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

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

Issue 11970012: Add a check for server and CA certificates in device policies to the ONC validator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed the wording in the spec. 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_unittest.cc
diff --git a/chromeos/network/onc/onc_certificate_importer_unittest.cc b/chromeos/network/onc/onc_certificate_importer_unittest.cc
index 736c3a9810d382725c93df2b10ca8a602b4e9296..d2b2aa3d9327df90deea323627e077d327f350b7 100644
--- a/chromeos/network/onc/onc_certificate_importer_unittest.cc
+++ b/chromeos/network/onc/onc_certificate_importer_unittest.cc
@@ -89,8 +89,7 @@ class ONCCertificateImporterTest : public testing::Test {
certificates->GetDictionary(0, &certificate);
certificate->GetStringWithoutPathExpansion(kGUID, guid);
- CertificateImporter importer(ONC_SOURCE_USER_IMPORT,
- false /* don't allow web trust */);
+ CertificateImporter importer(false /* don't allow web trust */);
EXPECT_EQ(CertificateImporter::IMPORT_OK,
importer.ParseAndStoreCertificates(*certificates));

Powered by Google App Engine
This is Rietveld 408576698