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

Issue 160341: First cut at Firefox import on OSX + stubs for Safari import. (Closed)

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

Description

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. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=21995

Patch Set 1 #

Patch Set 2 : Fix style hiccup. #

Total comments: 10

Patch Set 3 : Enable FFImporter unit test while we're at it. #

Patch Set 4 : Address Stuart's comments. #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -54 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/app/nibs/FirstRunDialog.xib View 6 chunks +36 lines, -21 lines 0 comments Download
M chrome/browser/cocoa/first_run_dialog.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/first_run_dialog.mm View 2 chunks +6 lines, -0 lines 1 comment Download
M chrome/browser/first_run_mac.mm View 1 2 3 3 chunks +28 lines, -2 lines 2 comments Download
M chrome/browser/importer/firefox_importer_unittest.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/importer/firefox_importer_utils_mac.cc View 1 chunk +0 lines, -23 lines 0 comments Download
A chrome/browser/importer/firefox_importer_utils_mac.mm View 1 chunk +31 lines, -0 lines 0 comments Download
M chrome/browser/importer/importer.h View 2 chunks +4 lines, -0 lines 1 comment Download
M chrome/browser/importer/importer.cc View 1 2 3 3 chunks +21 lines, -0 lines 1 comment Download
M chrome/browser/importer/nss_decryptor_mac.h View 2 chunks +7 lines, -6 lines 0 comments Download
A chrome/browser/importer/nss_decryptor_mac.mm View 1 chunk +23 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
jeremy
11 years, 4 months ago (2009-07-29 18:16:02 UTC) #1
stuartmorgan
http://codereview.chromium.org/160341/diff/16/21 File chrome/browser/first_run_mac.mm (right): http://codereview.chromium.org/160341/diff/16/21#newcode54 Line 54: // On OS X, we should always at ...
11 years, 4 months ago (2009-07-29 20:04:05 UTC) #2
jeremy
All fixed, ready for another look. http://codereview.chromium.org/160341/diff/16/21 File chrome/browser/first_run_mac.mm (right): http://codereview.chromium.org/160341/diff/16/21#newcode54 Line 54: // On ...
11 years, 4 months ago (2009-07-29 20:14:27 UTC) #3
Mark Mentovai
stuartmorgan@chromium.org wrote: > http://codereview.chromium.org/160341/diff/16/26#newcode824 > Line 824: // On OSX, Safari should always come first ...
11 years, 4 months ago (2009-07-29 20:16:28 UTC) #4
stuartmorgan
LGTM http://codereview.chromium.org/160341/diff/1017/51 File chrome/browser/cocoa/first_run_dialog.mm (right): http://codereview.chromium.org/160341/diff/1017/51#newcode32 Line 32: [super dealloc]; Oops missed this before; indentation ...
11 years, 4 months ago (2009-07-29 20:22:37 UTC) #5
kuchhal
11 years, 4 months ago (2009-07-29 20:28:09 UTC) #6
lgtm for *.h and *.cc files.

and +1 to stuart's comments of using ifdef for Safari everywhere if we only plan
to support it on Mac.

http://codereview.chromium.org/160341/diff/1017/52
File chrome/browser/first_run_mac.mm (right):

http://codereview.chromium.org/160341/diff/1017/52#newcode94
Line 94: // Utility class that does the actual import.
Not sure if this comment makes sense. ProfileInfo is only responsible for
writing to Chrome profile. The whole import process is more involved than that.

http://codereview.chromium.org/160341/diff/1017/52#newcode101
Line 101: new ProfileWriter(profile), true);
reduce indentation by one space.

Powered by Google App Engine
This is Rietveld 408576698