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

Issue 2296633002: Fix Firefox bookmarks import. (Closed)

Created:
4 years, 3 months ago by kszatan
Modified:
4 years ago
Reviewers:
Ilya Sherman
CC:
chromium-reviews, tfarina, gab
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix Firefox bookmarks import. Firefox abandoned usage of the moz_bookmarks_roots table since v. 30 and removed the table in v. 31 in favor of storing relevant info in the 'guid' column of the moz_bookmarks table. BUG=638977 Committed: https://crrev.com/8a1ed3436f171ff0666d15d996ee033928c7dbf0 Cr-Commit-Position: refs/heads/master@{#436262}

Patch Set 1 : Use guid column from moz_bookmarks #

Patch Set 2 : Firefox bookmarks import refactoring with tests #

Patch Set 3 : Revert "Firefox bookmarks import refactoring with tests" #

Patch Set 4 : Minimal version with tests #

Patch Set 5 : trimmed down places.sqlite #

Patch Set 6 : Removed references to firefox_places.{cc,h} #

Total comments: 17

Patch Set 7 : Cleanup #

Total comments: 4

Patch Set 8 : Cleanup 2 #

Patch Set 9 : unit_tests target updated #

Patch Set 10 : remove places.sqlite #

Patch Set 11 : fix #

Patch Set 12 : fix2 #

Patch Set 13 : Disabled FF browser tests for old profiles #

Patch Set 14 : build fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -28 lines) Patch
M chrome/browser/importer/firefox_importer_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/common/importer/mock_importer_bridge.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +49 lines, -0 lines 0 comments Download
A chrome/common/importer/mock_importer_bridge.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/utility/importer/firefox_importer.h View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/utility/importer/firefox_importer.cc View 1 2 3 4 5 6 7 8 2 chunks +13 lines, -23 lines 0 comments Download
M chrome/utility/importer/firefox_importer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +83 lines, -2 lines 0 comments Download

Messages

Total messages: 74 (46 generated)
kszatan
ptal
4 years, 3 months ago (2016-08-30 08:32:45 UTC) #4
Ilya Sherman
Hi, thanks for the contribution! Could you please add test coverage for your changes? Otherwise ...
4 years, 3 months ago (2016-08-30 20:52:33 UTC) #5
kszatan
On 2016/08/30 20:52:33, Ilya Sherman (Away Sep 9-20) wrote: > Hi, thanks for the contribution! ...
4 years, 3 months ago (2016-09-08 13:21:38 UTC) #6
Ilya Sherman
On 2016/09/08 13:21:38, kszatan wrote: > On 2016/08/30 20:52:33, Ilya Sherman (Away Sep 9-20) wrote: ...
4 years, 3 months ago (2016-09-08 20:33:18 UTC) #7
kszatan
On 2016/09/08 20:33:18, Ilya Sherman (Away Sep 9-20) wrote: > Okay. Do we know whether ...
4 years, 3 months ago (2016-09-09 09:00:58 UTC) #8
kszatan
On 2016/09/09 09:00:58, kszatan wrote: > On 2016/09/08 20:33:18, Ilya Sherman (Away Sep 9-20) wrote: ...
4 years, 3 months ago (2016-09-14 09:58:35 UTC) #9
kszatan
4 years, 3 months ago (2016-09-15 08:31:47 UTC) #10
kszatan
Any update on this?
4 years, 2 months ago (2016-09-23 12:24:07 UTC) #11
Ilya Sherman
Wow, this CL got a lot more complicated! Apologies for the delay -- I've been ...
4 years, 2 months ago (2016-09-27 01:39:34 UTC) #12
kszatan
I'm not really familiar with Chromium code review either but will try to split it ...
4 years, 2 months ago (2016-09-29 06:26:34 UTC) #13
kszatan
This is the minimal version fixing the bug with tests. I'll make refactoring in another ...
4 years, 1 month ago (2016-10-26 10:09:05 UTC) #15
Ilya Sherman
Thanks! Looks pretty good -- just a few nits: https://codereview.chromium.org/2296633002/diff/100001/chrome/common/importer/mock_importer_bridge.h File chrome/common/importer/mock_importer_bridge.h (right): https://codereview.chromium.org/2296633002/diff/100001/chrome/common/importer/mock_importer_bridge.h#newcode1 chrome/common/importer/mock_importer_bridge.h:1: ...
4 years, 1 month ago (2016-10-26 22:55:59 UTC) #16
kszatan
https://codereview.chromium.org/2296633002/diff/100001/chrome/utility/importer/firefox_importer_unittest.cc File chrome/utility/importer/firefox_importer_unittest.cc (right): https://codereview.chromium.org/2296633002/diff/100001/chrome/utility/importer/firefox_importer_unittest.cc#newcode141 chrome/utility/importer/firefox_importer_unittest.cc:141: EXPECT_CALL(*bridge, NotifyEnded()); On 2016/10/26 22:55:59, Ilya Sherman wrote: > ...
4 years, 1 month ago (2016-10-27 08:43:38 UTC) #17
Ilya Sherman
Thanks! LGTM % a final couple of nits. Also, for future reference, please mark comments ...
4 years, 1 month ago (2016-10-27 22:00:26 UTC) #18
kszatan
Fixed. Sorry for the delays but I'm working actively on other things also. https://codereview.chromium.org/2296633002/diff/100001/chrome/common/importer/mock_importer_bridge.h File ...
4 years, 1 month ago (2016-11-02 08:17:34 UTC) #19
kszatan
I have problems with uploading places.sqlite file. It weighs 1.1M and git complains: Not uploading ...
4 years, 1 month ago (2016-11-02 13:29:26 UTC) #28
Ilya Sherman
(Still LGTM, thanks!) On 2016/11/02 13:29:26, kszatan wrote: > I have problems with uploading places.sqlite ...
4 years, 1 month ago (2016-11-02 20:29:00 UTC) #29
kszatan
On 2016/11/02 20:29:00, Ilya Sherman wrote: > (Still LGTM, thanks!) > > On 2016/11/02 13:29:26, ...
4 years, 1 month ago (2016-11-03 07:53:05 UTC) #30
Ilya Sherman
On 2016/11/03 07:53:05, kszatan wrote: > On 2016/11/02 20:29:00, Ilya Sherman wrote: > > (Still ...
4 years, 1 month ago (2016-11-03 21:19:15 UTC) #31
kszatan
On 2016/11/03 21:19:15, Ilya Sherman wrote: > On 2016/11/03 07:53:05, kszatan wrote: > > On ...
4 years, 1 month ago (2016-11-10 11:16:01 UTC) #32
kszatan
OK, so I've talked with a few people on #chromium and the say that 1.1M ...
4 years, 1 month ago (2016-11-16 10:43:43 UTC) #41
Ilya Sherman
On 2016/11/16 10:43:43, kszatan wrote: > OK, so I've talked with a few people on ...
4 years ago (2016-11-21 20:22:42 UTC) #42
kszatan
From another IRC conversation: <Torne>you should land *just* the new binary file in a seprate ...
4 years ago (2016-11-22 15:02:01 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2296633002/250001
4 years ago (2016-12-05 11:13:27 UTC) #65
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2296633002/250001
4 years ago (2016-12-05 11:28:19 UTC) #68
commit-bot: I haz the power
Committed patchset #14 (id:250001)
4 years ago (2016-12-05 11:33:11 UTC) #71
commit-bot: I haz the power
Patchset 14 (id:??) landed as https://crrev.com/8a1ed3436f171ff0666d15d996ee033928c7dbf0 Cr-Commit-Position: refs/heads/master@{#436262}
4 years ago (2016-12-05 11:34:32 UTC) #73
kszatan
4 years ago (2016-12-05 11:48:41 UTC) #74
Message was sent while issue was closed.
I had to disable existing firefox importer browsertests, which are based on
older profiles. They should be reenabled in
https://codereview.chromium.org/2451223004/.

Powered by Google App Engine
This is Rietveld 408576698