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

Issue 22408007: Remove "<HR>" tags to import Firefox bookmarks correctly. (Closed)

Created:
7 years, 4 months ago by zhchbin
Modified:
7 years, 4 months ago
Reviewers:
tfarina, gab, Ilya Sherman
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Remove "<HR>" tags to import Firefox bookmarks correctly. BUG=257474 TEST=1. Go to chrome://bookmarks/#1; 2. Organise->Import Bookmarks from HTML file; 3. Select the HTML file which exports from bookmarks of Firefox. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217205

Patch Set 1 #

Total comments: 4

Patch Set 2 : Nits fix and add a test case. #

Total comments: 13

Patch Set 3 : Revise test cases. #

Total comments: 3

Patch Set 4 : Update comment. #

Total comments: 10

Patch Set 5 : Revise as comments. #

Total comments: 2

Patch Set 6 : Update comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -25 lines) Patch
A chrome/test/data/bookmark_html_reader/firefox23.html View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/utility/importer/bookmark_html_reader.cc View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/utility/importer/bookmark_html_reader_unittest.cc View 1 2 3 4 7 chunks +83 lines, -25 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
zhchbin
Please review.
7 years, 4 months ago (2013-08-08 14:22:46 UTC) #1
gab
isherman would be a better reviewer than me for this. Please also add a test ...
7 years, 4 months ago (2013-08-08 14:55:14 UTC) #2
tfarina
Please, when you start a patch related to a bug on crbug.com/, say so on ...
7 years, 4 months ago (2013-08-08 16:00:03 UTC) #3
zhchbin
On 2013/08/08 16:00:03, tfarina wrote: > Please, when you start a patch related to a ...
7 years, 4 months ago (2013-08-08 16:09:06 UTC) #4
tfarina
On 2013/08/08 16:09:06, zhchbin wrote: > On 2013/08/08 16:00:03, tfarina wrote: > > Please, when ...
7 years, 4 months ago (2013-08-08 23:06:15 UTC) #5
Ilya Sherman
Please add a test for this. Otherwise, this change looks good -- thanks! Please note ...
7 years, 4 months ago (2013-08-09 01:26:18 UTC) #6
zhchbin
@gab. Could you please take a look? A test case is added. @Ilya, thanks for ...
7 years, 4 months ago (2013-08-09 06:15:08 UTC) #7
gab
Comments below. Cheers! Gab https://codereview.chromium.org/22408007/diff/9001/chrome/test/data/bookmark_html_reader/firefox3.html File chrome/test/data/bookmark_html_reader/firefox3.html (right): https://codereview.chromium.org/22408007/diff/9001/chrome/test/data/bookmark_html_reader/firefox3.html#newcode13 chrome/test/data/bookmark_html_reader/firefox3.html:13: <HR> <DT><H3 ADD_DATE="1360718511" LAST_MODIFIED="1360718511">Internet</H3> There ...
7 years, 4 months ago (2013-08-09 13:27:30 UTC) #8
tfarina
On Fri, Aug 9, 2013 at 10:27 AM, <gab@chromium.org> wrote: > (note that BookmarkHTMLReaderTest.ParseTests can ...
7 years, 4 months ago (2013-08-09 13:33:41 UTC) #9
zhchbin
@gab please take a look at my comments below. I will update this cl tomorrow ...
7 years, 4 months ago (2013-08-09 14:20:00 UTC) #10
gab
Sounds good, thanks for doing this! https://codereview.chromium.org/22408007/diff/9001/chrome/test/data/bookmark_html_reader/firefox3.html File chrome/test/data/bookmark_html_reader/firefox3.html (right): https://codereview.chromium.org/22408007/diff/9001/chrome/test/data/bookmark_html_reader/firefox3.html#newcode13 chrome/test/data/bookmark_html_reader/firefox3.html:13: <HR> <DT><H3 ADD_DATE="1360718511" ...
7 years, 4 months ago (2013-08-09 14:29:03 UTC) #11
zhchbin
I have updated this cl as your comments. PTAL. @tfarina, gtest didn't allow test cases ...
7 years, 4 months ago (2013-08-10 06:06:01 UTC) #12
tfarina
https://codereview.chromium.org/22408007/diff/20001/chrome/utility/importer/bookmark_html_reader.cc File chrome/utility/importer/bookmark_html_reader.cc (right): https://codereview.chromium.org/22408007/diff/20001/chrome/utility/importer/bookmark_html_reader.cc#newcode117 chrome/utility/importer/bookmark_html_reader.cc:117: while (StartsWithASCII(line, kHrTag, false)) { On 2013/08/10 06:06:02, zhchbin ...
7 years, 4 months ago (2013-08-10 14:30:51 UTC) #13
zhchbin
https://codereview.chromium.org/22408007/diff/20001/chrome/utility/importer/bookmark_html_reader.cc File chrome/utility/importer/bookmark_html_reader.cc (right): https://codereview.chromium.org/22408007/diff/20001/chrome/utility/importer/bookmark_html_reader.cc#newcode117 chrome/utility/importer/bookmark_html_reader.cc:117: while (StartsWithASCII(line, kHrTag, false)) { On 2013/08/10 14:30:51, tfarina ...
7 years, 4 months ago (2013-08-10 14:45:39 UTC) #14
gab
Looks good, last comments below. Cheers! Gab https://codereview.chromium.org/22408007/diff/26001/chrome/utility/importer/bookmark_html_reader.cc File chrome/utility/importer/bookmark_html_reader.cc (right): https://codereview.chromium.org/22408007/diff/26001/chrome/utility/importer/bookmark_html_reader.cc#newcode116 chrome/utility/importer/bookmark_html_reader.cc:116: // bookmark ...
7 years, 4 months ago (2013-08-12 14:17:40 UTC) #15
zhchbin
https://codereview.chromium.org/22408007/diff/26001/chrome/utility/importer/bookmark_html_reader.cc File chrome/utility/importer/bookmark_html_reader.cc (right): https://codereview.chromium.org/22408007/diff/26001/chrome/utility/importer/bookmark_html_reader.cc#newcode116 chrome/utility/importer/bookmark_html_reader.cc:116: // bookmark entrys in Firefox that Chrome does not ...
7 years, 4 months ago (2013-08-12 14:42:09 UTC) #16
gab
lgtm w/ comment change below. Cheers! Gab https://codereview.chromium.org/22408007/diff/32001/chrome/utility/importer/bookmark_html_reader.cc File chrome/utility/importer/bookmark_html_reader.cc (right): https://codereview.chromium.org/22408007/diff/32001/chrome/utility/importer/bookmark_html_reader.cc#newcode119 chrome/utility/importer/bookmark_html_reader.cc:119: while (StartsWithASCII(line, ...
7 years, 4 months ago (2013-08-12 16:28:21 UTC) #17
zhchbin
https://codereview.chromium.org/22408007/diff/32001/chrome/utility/importer/bookmark_html_reader.cc File chrome/utility/importer/bookmark_html_reader.cc (right): https://codereview.chromium.org/22408007/diff/32001/chrome/utility/importer/bookmark_html_reader.cc#newcode119 chrome/utility/importer/bookmark_html_reader.cc:119: while (StartsWithASCII(line, kHrTag, false)) { On 2013/08/12 16:28:22, gab ...
7 years, 4 months ago (2013-08-13 02:43:43 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zhchbin@gmail.com/22408007/37001
7 years, 4 months ago (2013-08-13 02:44:01 UTC) #19
commit-bot: I haz the power
7 years, 4 months ago (2013-08-13 05:26:57 UTC) #20
Message was sent while issue was closed.
Change committed as 217205

Powered by Google App Engine
This is Rietveld 408576698