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

Unified Diff: chrome/browser/chromeos/login/owner_key_utils.cc

Issue 5763006: Remove unneeded NSS headers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Also remove the EnsureNSSInit call Created 10 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/owner_key_utils.cc
===================================================================
--- chrome/browser/chromeos/login/owner_key_utils.cc (revision 68922)
+++ chrome/browser/chromeos/login/owner_key_utils.cc (working copy)
@@ -4,12 +4,6 @@
#include "chrome/browser/chromeos/login/owner_key_utils.h"
-#include <keyhi.h> // SECKEY_CreateSubjectPublicKeyInfo()
-#include <pk11pub.h>
-#include <prerror.h> // PR_GetError()
-#include <secder.h> // DER_Encode()
-#include <secmod.h>
-
#include <limits>
#include "base/crypto/rsa_private_key.h"
@@ -18,8 +12,6 @@
#include "base/file_path.h"
#include "base/file_util.h"
#include "base/logging.h"
-#include "base/nss_util.h"
-#include "base/nss_util_internal.h"
#include "base/scoped_ptr.h"
#include "base/string_util.h"
#include "chrome/browser/chromeos/cros/cros_library.h"
@@ -99,10 +91,7 @@
// static
const uint16 OwnerKeyUtilsImpl::kKeySizeInBits = 2048;
-OwnerKeyUtilsImpl::OwnerKeyUtilsImpl() {
- // Ensure NSS is initialized.
- base::EnsureNSSInit();
-}
+OwnerKeyUtilsImpl::OwnerKeyUtilsImpl() {}
OwnerKeyUtilsImpl::~OwnerKeyUtilsImpl() {}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698