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

Unified Diff: chrome/browser/chromeos/policy/device_network_configuration_updater.cc

Issue 148183013: Use per-user nssdb in onc certificate importer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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: chrome/browser/chromeos/policy/device_network_configuration_updater.cc
diff --git a/chrome/browser/chromeos/policy/device_network_configuration_updater.cc b/chrome/browser/chromeos/policy/device_network_configuration_updater.cc
index a68cd31a3ae61477c508d67f159e6cabfcfc6633..090049b7c92a0ce91bf5606eac065d63bf985c15 100644
--- a/chrome/browser/chromeos/policy/device_network_configuration_updater.cc
+++ b/chrome/browser/chromeos/policy/device_network_configuration_updater.cc
@@ -66,9 +66,12 @@ void DeviceNetworkConfigurationUpdater::Init() {
}
void DeviceNetworkConfigurationUpdater::ImportCertificates(
- const base::ListValue& certificates_onc) {
- certificate_importer_->ImportCertificates(
- certificates_onc, onc_source_, NULL);
+ const base::ListValue& certificates_onc,
+ net::NSSCertDatabase* target_nssdb) {
+ // Importing CA and server certs from device policy is not allowed, while
+ // importing client is not yet supported (as a system-wide PKCS#11 token to
+ // which they should be imported is not yet available).
+ NOTREACHED();
}
void DeviceNetworkConfigurationUpdater::ApplyNetworkPolicy(

Powered by Google App Engine
This is Rietveld 408576698