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

Unified Diff: chrome/browser/chromeos/policy/user_network_configuration_updater_factory.h

Issue 148183013: Use per-user nssdb in onc certificate importer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: should be ready 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/user_network_configuration_updater_factory.h
diff --git a/chrome/browser/chromeos/policy/user_network_configuration_updater_factory.h b/chrome/browser/chromeos/policy/user_network_configuration_updater_factory.h
index 5249994df7e4e214b31bd045503bbfc86c601557..9d5436e0fa718502fef1fe03b43e06c0d1f08824 100644
--- a/chrome/browser/chromeos/policy/user_network_configuration_updater_factory.h
+++ b/chrome/browser/chromeos/policy/user_network_configuration_updater_factory.h
@@ -29,6 +29,12 @@ class UserNetworkConfigurationUpdaterFactory
static UserNetworkConfigurationUpdaterFactory* GetInstance();
+ // Used in test to delay CertificateImporterCreation until the NSSDatabase is
+ // ready. This is needed in some tests as the user's certificate database may
+ // not get initialized in time.
+ // TODO(tbarzic): Remove this when it's not needed.
+ static void SetSkipCertificateImporterCreationForTest(bool skip);
+
private:
friend struct DefaultSingletonTraits<UserNetworkConfigurationUpdaterFactory>;

Powered by Google App Engine
This is Rietveld 408576698