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

Issue 174206: Bring up Firefox Password Import Unittest on OS X. (Closed)

Created:
11 years, 4 months ago by jeremy
Modified:
11 years, 4 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Bring up Firefox Password Import Unittest on OS X. The NSSDecrptor class needs to be run in a child process on OS X, so we need to do some fancy footwork in the form of a bridge class. Also a few small fixes for surrounding code. BUG=18775 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=23971

Patch Set 1 #

Patch Set 2 : Small fix #

Total comments: 15
Unified diffs Side-by-side diffs Delta from patch set Stats (+493 lines, -15 lines) Patch
M chrome/browser/importer/firefox3_importer.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/importer/firefox_importer_unittest.cc View 1 chunk +28 lines, -11 lines 0 comments Download
A chrome/browser/importer/firefox_importer_unittest_messages_internal.h View 1 chunk +29 lines, -0 lines 1 comment Download
A chrome/browser/importer/firefox_importer_unittest_utils.h View 1 chunk +73 lines, -0 lines 4 comments Download
A chrome/browser/importer/firefox_importer_unittest_utils_mac.cc View 1 chunk +262 lines, -0 lines 6 comments Download
M chrome/browser/importer/firefox_importer_utils.h View 1 chunk +9 lines, -1 line 1 comment Download
M chrome/browser/importer/firefox_importer_utils_mac.mm View 1 chunk +24 lines, -1 line 1 comment Download
M chrome/browser/importer/nss_decryptor_mac.h View 2 chunks +1 line, -7 lines 0 comments Download
M chrome/browser/importer/nss_decryptor_mac.mm View 1 chunk +56 lines, -7 lines 2 comments Download
M chrome/chrome.gyp View 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/test/data/firefox2_nss_mac/README View 1 chunk +7 lines, -0 lines 0 comments Download
A chrome/test/data/firefox2_nss_mac/libfreebl3.dylib View 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/test/data/firefox2_nss_mac/libnspr4.dylib View 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/test/data/firefox2_nss_mac/libnss3.dylib View 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/test/data/firefox2_nss_mac/libplc4.dylib View 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/test/data/firefox2_nss_mac/libplds4.dylib View 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/test/data/firefox2_nss_mac/libsoftokn3.dylib View 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/test/data/firefox3_nss_mac/README View 1 chunk +13 lines, -0 lines 0 comments Download
A chrome/test/data/firefox3_nss_mac/libfreebl3.dylib View 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/test/data/firefox3_nss_mac/libnspr4.dylib View 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/test/data/firefox3_nss_mac/libnss3.dylib View 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/test/data/firefox3_nss_mac/libnssdbm3.dylib View 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/test/data/firefox3_nss_mac/libnssutil3.dylib View 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/test/data/firefox3_nss_mac/libplc4.dylib View 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/test/data/firefox3_nss_mac/libplds4.dylib View 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/test/data/firefox3_nss_mac/libsoftokn3.dylib View 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/test/data/firefox3_nss_mac/libsqlite3.dylib View 0 chunks +-1 lines, --1 lines 0 comments Download
M ipc/ipc_sync_message_unittest.h View 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_tests.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
jeremy
Tons of files in this CL since I needed to checkin two sets of NSS ...
11 years, 4 months ago (2009-08-21 00:40:00 UTC) #1
John Grabowski
LGTM Only minor comments http://codereview.chromium.org/174206/diff/62/65 File chrome/browser/importer/firefox_importer_unittest_messages_internal.h (right): http://codereview.chromium.org/174206/diff/62/65#newcode4 Line 4: Add #ifndef to mirror ...
11 years, 4 months ago (2009-08-21 01:13:18 UTC) #2
kuchhal
11 years, 4 months ago (2009-08-21 16:24:57 UTC) #3
lgtm

http://codereview.chromium.org/174206/diff/62/67
File chrome/browser/importer/firefox_importer_unittest_utils_mac.cc (right):

http://codereview.chromium.org/174206/diff/62/67#newcode35
Line 35: IPC::Channel& channel, base::ProcessHandle* handle) {
make nss_path const and may be channel too.

http://codereview.chromium.org/174206/diff/62/67#newcode167
Line 167: // wire and the client to reply.  If the client does relpy by a given
timeout
does *not reply*

http://codereview.chromium.org/174206/diff/62/71
File chrome/browser/importer/nss_decryptor_mac.mm (right):

http://codereview.chromium.org/174206/diff/62/71#newcode8
Line 8: #include </usr/include/mach-o/dyld.h>
is that the right convention? not just mach-o/dyld.h?

http://codereview.chromium.org/174206/diff/62/71#newcode24
Line 24: // To do s, the process this function runs in must have the
To do so

Powered by Google App Engine
This is Rietveld 408576698