diff options
author | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-29 21:12:11 +0000 |
---|---|---|
committer | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-29 21:12:11 +0000 |
commit | 839575632d4a75a63c7b803f81dbdf83683546e1 (patch) | |
tree | b1523c997da62a4bf8419695a807077c57b0cf08 /chrome/browser/importer/nss_decryptor_mac.mm | |
parent | 1e463e1ebb3e81fbdaf6add1c64f4ad0ff68f67f (diff) | |
download | chromium_src-839575632d4a75a63c7b803f81dbdf83683546e1.zip chromium_src-839575632d4a75a63c7b803f81dbdf83683546e1.tar.gz chromium_src-839575632d4a75a63c7b803f81dbdf83683546e1.tar.bz2 |
First cut at Firefox import on OSX + stubs for Safari import.
Known limitations:
* Runs in browser process, should run in a separate process.
* No UI.
* No FF password import.
BUG=15455
TEST=Check that firefox settings are correctly imported on first run, firefox password importing and Safari importing still don't work.
Review URL: http://codereview.chromium.org/160341
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21995 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer/nss_decryptor_mac.mm')
-rw-r--r-- | chrome/browser/importer/nss_decryptor_mac.mm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/chrome/browser/importer/nss_decryptor_mac.mm b/chrome/browser/importer/nss_decryptor_mac.mm new file mode 100644 index 0000000..97e85b6 --- /dev/null +++ b/chrome/browser/importer/nss_decryptor_mac.mm @@ -0,0 +1,23 @@ +// 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. + +#include <Cocoa/Cocoa.h> + +#include "chrome/browser/importer/nss_decryptor_mac.h" + +#include "base/logging.h" + +// static +const wchar_t NSSDecryptor::kNSS3Library[] = L"libnss3.dylib"; +const wchar_t NSSDecryptor::kSoftokn3Library[] = L"libsoftokn3.dylib"; +const wchar_t NSSDecryptor::kPLDS4Library[] = L"libplds4.dylib"; +const wchar_t NSSDecryptor::kNSPR4Library[] = L"libnspr4.dylib"; + +bool NSSDecryptor::Init(const std::wstring& dll_path, + const std::wstring& db_path) { + // TODO(port): Load the NSS libraries and call InitNSS() + // http://code.google.com/p/chromium/issues/detail?id=15455 + NOTIMPLEMENTED(); + return false; +} |