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

Unified Diff: chromeos/network/cert_loader.cc

Issue 14729017: Add NetworkHandler to own network handlers in src/chromeos/network (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 7 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/cert_loader.cc
diff --git a/chromeos/network/cert_loader.cc b/chromeos/network/cert_loader.cc
index 1198accc1cb56595a1b670ec9c04bd391a8998c8..c5aa0508e72195f22f55671d6c12a29b419f6a21 100644
--- a/chromeos/network/cert_loader.cc
+++ b/chromeos/network/cert_loader.cc
@@ -33,32 +33,6 @@ net::CertificateList* LoadNSSCertificates() {
} // namespace
-static CertLoader* g_cert_loader = NULL;
-
-// static
-void CertLoader::Initialize() {
- CHECK(!g_cert_loader);
- g_cert_loader = new CertLoader();
-}
-
-// static
-void CertLoader::Shutdown() {
- CHECK(g_cert_loader);
- delete g_cert_loader;
- g_cert_loader = NULL;
-}
-
-// static
-CertLoader* CertLoader::Get() {
- CHECK(g_cert_loader) << "CertLoader::Get() called before Initialize()";
- return g_cert_loader;
-}
-
-// static
-bool CertLoader::IsInitialized() {
- return g_cert_loader;
-}
-
CertLoader::CertLoader()
: tpm_token_ready_(false),
certificates_requested_(false),

Powered by Google App Engine
This is Rietveld 408576698