summaryrefslogtreecommitdiffstats
path: root/base/nss_util.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-17 23:05:28 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-17 23:05:28 +0000
commitf16339329dd06c7bc6fa409af73907253efad8dc (patch)
tree8303b6a935379ac9a68379f5fd896a6e84d7e5ea /base/nss_util.cc
parent681d27566707595006c468b17c27f8341d176b45 (diff)
downloadchromium_src-f16339329dd06c7bc6fa409af73907253efad8dc.zip
chromium_src-f16339329dd06c7bc6fa409af73907253efad8dc.tar.gz
chromium_src-f16339329dd06c7bc6fa409af73907253efad8dc.tar.bz2
Header cleanup in base.
This makes uses of StringPrintf and friends use the base namespace and include stringprintf.h explicitly. This also removes a bunch of unnecessary string_util includes (which exposed a few other errors like people forgetting to include <vector>. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3119022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56446 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/nss_util.cc')
-rw-r--r--base/nss_util.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/nss_util.cc b/base/nss_util.cc
index 35b7cc5..bf772aa 100644
--- a/base/nss_util.cc
+++ b/base/nss_util.cc
@@ -21,7 +21,7 @@
#include "base/file_util.h"
#include "base/logging.h"
#include "base/singleton.h"
-#include "base/string_util.h"
+#include "base/stringprintf.h"
// USE_NSS means we use NSS for everything crypto-related. If USE_NSS is not
// defined, such as on Mac and Windows, we use NSS for SSL only -- we don't
@@ -33,6 +33,8 @@
#include "base/scoped_ptr.h"
#endif // defined(USE_NSS)
+namespace base {
+
namespace {
#if defined(USE_NSS)
@@ -301,8 +303,6 @@ class NSSInitSingleton {
} // namespace
-namespace base {
-
void EnsureNSPRInit() {
Singleton<NSPRInitSingleton>::get();
}