summaryrefslogtreecommitdiffstats
path: root/chrome/browser/importer/nss_decryptor.h
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-22 00:53:48 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-22 00:53:48 +0000
commita1f55c87febb264d1c89afaadf8f8631b7155fa7 (patch)
tree633e7e27a0c2c07603b1c6edb13e0eda834eec0f /chrome/browser/importer/nss_decryptor.h
parente82fafcd66be3f5c0cef28ee0c08ae4f9e0338b4 (diff)
downloadchromium_src-a1f55c87febb264d1c89afaadf8f8631b7155fa7.zip
chromium_src-a1f55c87febb264d1c89afaadf8f8631b7155fa7.tar.gz
chromium_src-a1f55c87febb264d1c89afaadf8f8631b7155fa7.tar.bz2
Split NSSDecryptor out into platform specific files.
This lets Linux not bother to initialize NSS in the same way as the rest, but instead use the NSS symbols linked into the library, thereby preventing the NSS_Shutdown related bugs. BUG=http://crbug.com/13929 TEST=Case 1: Start chrome. Use firefox import utility. Browse to some https site. Shouldn't crash. Case 2: Start chrome. Browse to some https site. Use firefox import utility. Continue browsing https sites. Shouldn't crash. Review URL: http://codereview.chromium.org/159165 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21251 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer/nss_decryptor.h')
-rw-r--r--chrome/browser/importer/nss_decryptor.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/chrome/browser/importer/nss_decryptor.h b/chrome/browser/importer/nss_decryptor.h
new file mode 100644
index 0000000..d2ef391
--- /dev/null
+++ b/chrome/browser/importer/nss_decryptor.h
@@ -0,0 +1,18 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_IMPORTER_NSS_DECRYPTOR_H_
+#define CHROME_BROWSER_IMPORTER_NSS_DECRYPTOR_H_
+
+#include "build/build_config.h"
+
+#if defined(OS_LINUX)
+#include "chrome/browser/importer/nss_decryptor_linux.h"
+#elif defined(OS_MACOSX)
+#include "chrome/browser/importer/nss_decryptor_mac.h"
+#elif defined(OS_WIN)
+#include "chrome/browser/importer/nss_decryptor_win.h"
+#endif
+
+#endif // CHROME_BROWSER_IMPORTER_NSS_DECRYPTOR_H_