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

Issue 159668: First cut at Safari Import - Home Page & History Only. (Closed)

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

Description

First cut at Safari Import - Home Page & History Only. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=22179

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address Mark's comments. #

Total comments: 28

Patch Set 3 : Fix sky's comments. #

Total comments: 29

Patch Set 4 : Fix Rahul's comments #

Patch Set 5 : Fixes for Stuart's comments. #

Total comments: 3

Patch Set 6 : Fix Stuart's comments. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+393 lines, -2 lines) Patch
M .gitignore View 1 chunk +7 lines, -1 line 0 comments Download
M base/mac_util.h View 1 chunk +3 lines, -0 lines 0 comments Download
M base/mac_util.mm View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M base/mac_util_unittest.cc View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/history/history_types.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/importer/importer.cc View 3 chunks +5 lines, -3 lines 0 comments Download
A chrome/browser/importer/safari_importer.h View 1 2 3 4 5 1 chunk +63 lines, -0 lines 0 comments Download
A chrome/browser/importer/safari_importer.mm View 1 2 3 4 5 1 chunk +222 lines, -0 lines 1 comment Download
A chrome/browser/importer/safari_importer_unittest.mm View 1 2 3 4 5 1 chunk +63 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 chunks +3 lines, -0 lines 0 comments Download
A chrome/test/data/safari_import/Preferences/com.apple.Safari.plist View 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/test/data/safari_import/README View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/test/data/safari_import/Safari/History.plist View 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
jeremy
This is just a first stab, sending it out for review now to make sure ...
11 years, 4 months ago (2009-07-30 23:18:57 UTC) #1
Mark Mentovai
I've only looked at mac_util and the time stuff, which I think is all you ...
11 years, 4 months ago (2009-07-30 23:50:54 UTC) #2
jeremy
All fixed, thanks!
11 years, 4 months ago (2009-07-31 00:01:54 UTC) #3
sky
http://codereview.chromium.org/159668/diff/18/1021 File base/mac_util.mm (right): http://codereview.chromium.org/159668/diff/18/1021#newcode58 Line 58: NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, nit: this should be 4 space indented. ...
11 years, 4 months ago (2009-07-31 15:08:01 UTC) #4
jeremy
All fixed, ready for another look, thanks! http://codereview.chromium.org/159668/diff/18/1021 File base/mac_util.mm (right): http://codereview.chromium.org/159668/diff/18/1021#newcode58 Line 58: NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, ...
11 years, 4 months ago (2009-07-31 15:59:22 UTC) #5
sky
LGTM
11 years, 4 months ago (2009-07-31 16:17:26 UTC) #6
kuchhal
lgtm. some nits below. http://codereview.chromium.org/159668/diff/1034/29 File chrome/browser/importer/safari_importer.h (right): http://codereview.chromium.org/159668/diff/1034/29#newcode30 Line 30: MessageLoop* delagate_loop, delegate_loop http://codereview.chromium.org/159668/diff/1034/29#newcode64 ...
11 years, 4 months ago (2009-07-31 16:22:16 UTC) #7
stuartmorgan
http://codereview.chromium.org/159668/diff/1034/25 File base/mac_util.mm (right): http://codereview.chromium.org/159668/diff/1034/25#newcode63 Line 63: if (!library_dir) It's impossible for an NSArray to ...
11 years, 4 months ago (2009-07-31 16:46:06 UTC) #8
jeremy
All fixed, ready for another look. http://codereview.chromium.org/159668/diff/1034/25 File base/mac_util.mm (right): http://codereview.chromium.org/159668/diff/1034/25#newcode63 Line 63: if (!library_dir) ...
11 years, 4 months ago (2009-07-31 18:46:06 UTC) #9
stuartmorgan
http://codereview.chromium.org/159668/diff/1034/30 File chrome/browser/importer/safari_importer.mm (right): http://codereview.chromium.org/159668/diff/1034/30#newcode186 Line 186: // Get a hold of ~/Library/Preferences/com.apple.Safari.plist On 2009/07/31 ...
11 years, 4 months ago (2009-07-31 18:59:56 UTC) #10
jeremy
All fixed, ready for another round.
11 years, 4 months ago (2009-07-31 19:53:01 UTC) #11
stuartmorgan
11 years, 4 months ago (2009-07-31 19:57:01 UTC) #12
LGTM with leak fix.

http://codereview.chromium.org/159668/diff/1074/53
File chrome/browser/importer/safari_importer.mm (right):

http://codereview.chromium.org/159668/diff/1074/53#newcode179
Line 179: CFSTR("com.apple.Safari")));
This needs releasing; Copy gives you an owned reference.

Powered by Google App Engine
This is Rietveld 408576698