Chromium Code Reviews

Issue 14575004: Extract BookmarksFileImporter from Firefox2Importer. (Closed)

Created:
7 years, 7 months ago by Avi (use Gerrit)
Modified:
7 years, 7 months ago
Reviewers:
gab, sky, Chris Evans
CC:
chromium-reviews, tfarina, browser-components-watch_chromium.org
Visibility:
Public.

Description

Extract BookmarksFileImporter and BookmarkHTMLReader from Firefox2Importer. The extreme code duplication will go away once Firefox2Importer is removed. BUG=238229, 144783 TEST=BookmarksFileImporterTest.* R=gab@chromium.org, sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200042

Patch Set 1 #

Patch Set 2 : cleaner #

Total comments: 4

Patch Set 3 : extraneous include #

Total comments: 32

Patch Set 4 : better #

Patch Set 5 : update #

Patch Set 6 : extraction #

Patch Set 7 : fixes #

Patch Set 8 : win fix #

Total comments: 17

Patch Set 9 : win fix again #

Total comments: 18

Patch Set 10 : reviewers #

Patch Set 11 : fixes #

Total comments: 6

Patch Set 12 : moar fix #

Patch Set 13 : move stuff to favicon #

Total comments: 4

Patch Set 14 : rebase, dropped extra include #

Total comments: 3

Patch Set 15 : callbacks #

Total comments: 2

Patch Set 16 : one more test #

Patch Set 17 : bettar test #

Patch Set 18 : test fix #

Patch Set 19 : fix again? #

Total comments: 7

Patch Set 20 : test cleanup #

Total comments: 2
Unified diffs Side-by-side diffs Stats (+1286 lines, -303 lines)
M chrome/browser/bookmarks/DEPS View 2 chunks +1 line, -11 lines 0 comments
A chrome/browser/bookmarks/bookmark_html_reader.h View 1 chunk +97 lines, -0 lines 0 comments
A chrome/browser/bookmarks/bookmark_html_reader.cc View 1 chunk +432 lines, -0 lines 0 comments
A chrome/browser/bookmarks/bookmark_html_reader_unittest.cc View 1 chunk +275 lines, -0 lines 2 comments
M chrome/browser/bookmarks/bookmark_html_writer_unittest.cc View 8 chunks +20 lines, -15 lines 0 comments
A chrome/browser/bookmarks/imported_bookmark_entry.h View 1 chunk +28 lines, -0 lines 0 comments
A chrome/browser/bookmarks/imported_bookmark_entry.cc View 1 chunk +21 lines, -0 lines 0 comments
M chrome/browser/favicon/favicon_service.h View 2 chunks +2 lines, -1 line 0 comments
M chrome/browser/favicon/favicon_service.cc View 2 chunks +2 lines, -1 line 0 comments
M chrome/browser/favicon/favicon_util.h View 2 chunks +9 lines, -0 lines 0 comments
M chrome/browser/favicon/favicon_util.cc View 2 chunks +30 lines, -0 lines 0 comments
A chrome/browser/favicon/imported_favicon_usage.h View 1 chunk +28 lines, -0 lines 0 comments
A + chrome/browser/favicon/imported_favicon_usage.cc View 1 chunk +5 lines, -3 lines 0 comments
M chrome/browser/history/DEPS View 2 chunks +2 lines, -2 lines 0 comments
M chrome/browser/history/history_backend.cc View 1 chunk +1 line, -0 lines 0 comments
M chrome/browser/history/history_backend_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments
M chrome/browser/history/history_service.h View 1 chunk +1 line, -1 line 0 comments
M chrome/browser/history/history_service.cc View 2 chunks +2 lines, -1 line 0 comments
M chrome/browser/history/history_types.h View 1 chunk +0 lines, -15 lines 0 comments
M chrome/browser/history/history_types.cc View 1 chunk +0 lines, -8 lines 0 comments
A chrome/browser/importer/bookmarks_file_importer.h View 1 chunk +27 lines, -0 lines 0 comments
A chrome/browser/importer/bookmarks_file_importer.cc View 1 chunk +59 lines, -0 lines 0 comments
M chrome/browser/importer/external_process_importer_bridge.h View 3 chunks +3 lines, -3 lines 0 comments
M chrome/browser/importer/external_process_importer_bridge.cc View 3 chunks +10 lines, -9 lines 0 comments
M chrome/browser/importer/external_process_importer_client.h View 3 chunks +9 lines, -10 lines 0 comments
M chrome/browser/importer/external_process_importer_client.cc View 3 chunks +3 lines, -2 lines 0 comments
M chrome/browser/importer/firefox2_importer.h View 3 chunks +9 lines, -4 lines 0 comments
M chrome/browser/importer/firefox2_importer.cc View 7 chunks +12 lines, -11 lines 0 comments
M chrome/browser/importer/firefox3_importer.h View 2 chunks +1 line, -4 lines 0 comments
M chrome/browser/importer/firefox3_importer.cc View 10 chunks +50 lines, -12 lines 0 comments
M chrome/browser/importer/firefox_importer_browsertest.cc View 5 chunks +6 lines, -5 lines 0 comments
M chrome/browser/importer/firefox_importer_unittest.cc View 2 chunks +4 lines, -3 lines 0 comments
M chrome/browser/importer/ie_importer.h View 3 chunks +5 lines, -3 lines 0 comments
M chrome/browser/importer/ie_importer.cc View 9 chunks +14 lines, -12 lines 0 comments
M chrome/browser/importer/ie_importer_browsertest_win.cc View 4 chunks +5 lines, -4 lines 0 comments
M chrome/browser/importer/importer_bridge.h View 2 chunks +12 lines, -3 lines 0 comments
M chrome/browser/importer/importer_type.cc View 2 chunks +2 lines, -0 lines 0 comments
M chrome/browser/importer/importer_unittest_utils.h View 2 chunks +4 lines, -2 lines 0 comments
M chrome/browser/importer/importer_unittest_utils.cc View 1 chunk +2 lines, -1 line 0 comments
D chrome/browser/importer/importer_util.h View 1 chunk +0 lines, -22 lines 0 comments
D chrome/browser/importer/importer_util.cc View 1 chunk +0 lines, -40 lines 0 comments
M chrome/browser/importer/in_process_importer_bridge.h View 3 chunks +4 lines, -2 lines 0 comments
M chrome/browser/importer/in_process_importer_bridge.cc View 3 chunks +4 lines, -2 lines 0 comments
M chrome/browser/importer/profile_import_process_messages.h View 5 chunks +12 lines, -11 lines 0 comments
M chrome/browser/importer/profile_writer.h View 3 chunks +6 lines, -16 lines 0 comments
M chrome/browser/importer/profile_writer.cc View 6 chunks +12 lines, -24 lines 0 comments
M chrome/browser/importer/safari_importer.h View 5 chunks +6 lines, -5 lines 0 comments
M chrome/browser/importer/safari_importer.mm View 10 chunks +12 lines, -11 lines 0 comments
M chrome/browser/importer/safari_importer_unittest.mm View 4 chunks +7 lines, -6 lines 0 comments
M chrome/browser/importer/toolbar_importer.h View 4 chunks +7 lines, -7 lines 0 comments
M chrome/browser/importer/toolbar_importer.cc View 9 chunks +9 lines, -8 lines 0 comments
M chrome/browser/importer/toolbar_importer_unittest.cc View 2 chunks +2 lines, -1 line 0 comments
M chrome/chrome_browser.gypi View 6 chunks +9 lines, -2 lines 0 comments
M chrome/chrome_tests_unit.gypi View 2 chunks +2 lines, -0 lines 0 comments
A + chrome/test/data/bookmark_html_reader/epiphany.html View 0 chunks +-1 lines, --1 lines 0 comments
A + chrome/test/data/bookmark_html_reader/firefox2.html View 0 chunks +-1 lines, --1 lines 0 comments

Messages

Total messages: 61 (0 generated)
Avi (use Gerrit)
gab: importer stuff sky: bookmark stuff
7 years, 7 months ago (2013-05-06 20:06:55 UTC) #1
sky
bookmarks LGTM
7 years, 7 months ago (2013-05-06 21:11:16 UTC) #2
tfarina
https://codereview.chromium.org/14575004/diff/2001/chrome/browser/importer/bookmarks_file_importer.h File chrome/browser/importer/bookmarks_file_importer.h (right): https://codereview.chromium.org/14575004/diff/2001/chrome/browser/importer/bookmarks_file_importer.h#newcode8 chrome/browser/importer/bookmarks_file_importer.h:8: #include <set> looks like you can remove this include.
7 years, 7 months ago (2013-05-07 01:03:19 UTC) #3
tfarina
https://codereview.chromium.org/14575004/diff/2001/chrome/browser/importer/bookmarks_file_importer.cc File chrome/browser/importer/bookmarks_file_importer.cc (right): https://codereview.chromium.org/14575004/diff/2001/chrome/browser/importer/bookmarks_file_importer.cc#newcode277 chrome/browser/importer/bookmarks_file_importer.cc:277: bool BookmarksFileImporter::ParseCharsetFromLine(const std::string& line, tiny nit: since these are ...
7 years, 7 months ago (2013-05-07 02:15:55 UTC) #4
Avi (use Gerrit)
https://codereview.chromium.org/14575004/diff/2001/chrome/browser/importer/bookmarks_file_importer.cc File chrome/browser/importer/bookmarks_file_importer.cc (right): https://codereview.chromium.org/14575004/diff/2001/chrome/browser/importer/bookmarks_file_importer.cc#newcode277 chrome/browser/importer/bookmarks_file_importer.cc:277: bool BookmarksFileImporter::ParseCharsetFromLine(const std::string& line, On 2013/05/07 02:15:55, tfarina wrote: ...
7 years, 7 months ago (2013-05-07 03:11:28 UTC) #5
tfarina
https://codereview.chromium.org/14575004/diff/14001/chrome/browser/importer/bookmarks_file_importer.h File chrome/browser/importer/bookmarks_file_importer.h (right): https://codereview.chromium.org/14575004/diff/14001/chrome/browser/importer/bookmarks_file_importer.h#newcode70 chrome/browser/importer/bookmarks_file_importer.h:70: string16* folder_name, base::string16
7 years, 7 months ago (2013-05-07 16:08:14 UTC) #6
Avi (use Gerrit)
https://codereview.chromium.org/14575004/diff/14001/chrome/browser/importer/bookmarks_file_importer.h File chrome/browser/importer/bookmarks_file_importer.h (right): https://codereview.chromium.org/14575004/diff/14001/chrome/browser/importer/bookmarks_file_importer.h#newcode70 chrome/browser/importer/bookmarks_file_importer.h:70: string16* folder_name, On 2013/05/07 16:08:15, tfarina wrote: > base::string16 ...
7 years, 7 months ago (2013-05-07 16:46:13 UTC) #7
gab
Thanks for doing this, comments below. Cheers! Gab https://codereview.chromium.org/14575004/diff/14001/chrome/browser/importer/bookmarks_file_importer.cc File chrome/browser/importer/bookmarks_file_importer.cc (left): https://codereview.chromium.org/14575004/diff/14001/chrome/browser/importer/bookmarks_file_importer.cc#oldcode234 chrome/browser/importer/bookmarks_file_importer.cc:234: // ...
7 years, 7 months ago (2013-05-07 17:47:54 UTC) #8
tfarina
https://codereview.chromium.org/14575004/diff/14001/chrome/browser/importer/bookmarks_file_importer.cc File chrome/browser/importer/bookmarks_file_importer.cc (right): https://codereview.chromium.org/14575004/diff/14001/chrome/browser/importer/bookmarks_file_importer.cc#newcode98 chrome/browser/importer/bookmarks_file_importer.cc:98: On 2013/05/07 17:47:54, gab wrote: > Add a section ...
7 years, 7 months ago (2013-05-07 18:02:54 UTC) #9
tfarina
https://codereview.chromium.org/14575004/diff/14001/chrome/browser/importer/bookmarks_file_importer.cc File chrome/browser/importer/bookmarks_file_importer.cc (right): https://codereview.chromium.org/14575004/diff/14001/chrome/browser/importer/bookmarks_file_importer.cc#newcode349 chrome/browser/importer/bookmarks_file_importer.cc:349: const char kItemOpen[] = "<DT><A"; On 2013/05/07 17:47:54, gab ...
7 years, 7 months ago (2013-05-07 18:05:51 UTC) #10
Avi (use Gerrit)
All issues addressed unless otherwise noted. https://codereview.chromium.org/14575004/diff/14001/chrome/browser/importer/bookmarks_file_importer.cc File chrome/browser/importer/bookmarks_file_importer.cc (left): https://codereview.chromium.org/14575004/diff/14001/chrome/browser/importer/bookmarks_file_importer.cc#oldcode234 chrome/browser/importer/bookmarks_file_importer.cc:234: // add it ...
7 years, 7 months ago (2013-05-07 18:29:39 UTC) #11
Avi (use Gerrit)
Re the search engine import, look at Firefox2Importer::ImportBookmarks line 316: if (!parsing_bookmarks_html_file_ && !template_urls.empty() && ...
7 years, 7 months ago (2013-05-07 20:29:32 UTC) #12
gab
On 2013/05/07 20:29:32, Avi wrote: > Re the search engine import, look at Firefox2Importer::ImportBookmarks line ...
7 years, 7 months ago (2013-05-08 14:36:40 UTC) #13
gab
On 2013/05/08 14:36:40, gab wrote: > On 2013/05/07 20:29:32, Avi wrote: > > Re the ...
7 years, 7 months ago (2013-05-08 14:38:14 UTC) #14
gab
lg, just a couple replies below. https://codereview.chromium.org/14575004/diff/14001/chrome/browser/importer/bookmarks_file_importer.cc File chrome/browser/importer/bookmarks_file_importer.cc (right): https://codereview.chromium.org/14575004/diff/14001/chrome/browser/importer/bookmarks_file_importer.cc#newcode98 chrome/browser/importer/bookmarks_file_importer.cc:98: On 2013/05/07 18:29:39, ...
7 years, 7 months ago (2013-05-08 16:24:34 UTC) #15
Avi (use Gerrit)
https://codereview.chromium.org/14575004/diff/14001/chrome/browser/importer/bookmarks_file_importer.cc File chrome/browser/importer/bookmarks_file_importer.cc (right): https://codereview.chromium.org/14575004/diff/14001/chrome/browser/importer/bookmarks_file_importer.cc#newcode349 chrome/browser/importer/bookmarks_file_importer.cc:349: const char kItemOpen[] = "<DT><A"; I'd like to take ...
7 years, 7 months ago (2013-05-08 18:30:27 UTC) #16
Avi (use Gerrit)
Suppose we moved ImportBookmarksFile into the bookmarks module, and then made the two importers depend ...
7 years, 7 months ago (2013-05-08 19:23:00 UTC) #17
gab
On 2013/05/08 19:23:00, Avi wrote: > Suppose we moved ImportBookmarksFile into the bookmarks module, and ...
7 years, 7 months ago (2013-05-08 21:34:47 UTC) #18
sky
On 2013/05/08 19:23:00, Avi wrote: > Suppose we moved ImportBookmarksFile into the bookmarks module, and ...
7 years, 7 months ago (2013-05-09 15:57:21 UTC) #19
Avi (use Gerrit)
On 2013/05/09 15:57:21, sky wrote: > On 2013/05/08 19:23:00, Avi wrote: > > The other ...
7 years, 7 months ago (2013-05-09 17:48:53 UTC) #20
tfarina
On Thu, May 9, 2013 at 2:48 PM, <avi@chromium.org> wrote: > On 2013/05/09 15:57:21, sky ...
7 years, 7 months ago (2013-05-09 17:58:50 UTC) #21
sky
I told Avi I was fine with his proposal. On Thu, May 9, 2013 at ...
7 years, 7 months ago (2013-05-09 19:33:50 UTC) #22
Avi (use Gerrit)
The plan is to move ProfileWriter::BookmarkEntry to bookmarks/. As for history::ImportedFaviconUsage, I have no idea. ...
7 years, 7 months ago (2013-05-09 19:34:45 UTC) #23
tfarina
So my understanding is that Avi is going to move void ImportBookmarksFile() function into c/b/bookmarks. ...
7 years, 7 months ago (2013-05-09 19:56:19 UTC) #24
Avi (use Gerrit)
I am rewriting this patch to move ImportBookmarksFile into bookmarks because it appears to be ...
7 years, 7 months ago (2013-05-09 19:58:05 UTC) #25
Avi (use Gerrit)
On 2013/05/09 19:58:05, Avi wrote: > I am rewriting this patch to move ImportBookmarksFile into ...
7 years, 7 months ago (2013-05-09 21:17:44 UTC) #26
Avi (use Gerrit)
gab, sky, please take a look again.
7 years, 7 months ago (2013-05-10 18:00:26 UTC) #27
sky
LGTM https://codereview.chromium.org/14575004/diff/59001/chrome/browser/bookmarks/bookmark_html_reader.cc File chrome/browser/bookmarks/bookmark_html_reader.cc (right): https://codereview.chromium.org/14575004/diff/59001/chrome/browser/bookmarks/bookmark_html_reader.cc#newcode33 chrome/browser/bookmarks/bookmark_html_reader.cc:33: begin = attribute_list.find(kQuote, begin) + 1; Any reason ...
7 years, 7 months ago (2013-05-10 19:35:19 UTC) #28
tfarina
https://codereview.chromium.org/14575004/diff/65001/chrome/browser/bookmarks/DEPS File chrome/browser/bookmarks/DEPS (left): https://codereview.chromium.org/14575004/diff/65001/chrome/browser/bookmarks/DEPS#oldcode37 chrome/browser/bookmarks/DEPS:37: "!chrome/browser/importer/firefox2_importer.h", please, include 144783 in BUG= line for this. ...
7 years, 7 months ago (2013-05-10 19:58:30 UTC) #29
Avi (use Gerrit)
https://codereview.chromium.org/14575004/diff/59001/chrome/browser/bookmarks/bookmark_html_reader.cc File chrome/browser/bookmarks/bookmark_html_reader.cc (right): https://codereview.chromium.org/14575004/diff/59001/chrome/browser/bookmarks/bookmark_html_reader.cc#newcode33 chrome/browser/bookmarks/bookmark_html_reader.cc:33: begin = attribute_list.find(kQuote, begin) + 1; On 2013/05/10 19:35:20, ...
7 years, 7 months ago (2013-05-10 20:29:37 UTC) #30
gab
lg, comments below. Can you mark comment on all the methods that changed in the ...
7 years, 7 months ago (2013-05-10 20:37:57 UTC) #31
Avi (use Gerrit)
GetAttribute optimized a bit due to Scott's comment. DataURLToFaviconUsage no longer calls the importer::ReencodeFavicon; it's ...
7 years, 7 months ago (2013-05-10 21:05:52 UTC) #32
gab
On 2013/05/10 21:05:52, Avi wrote: > GetAttribute optimized a bit due to Scott's comment. > ...
7 years, 7 months ago (2013-05-10 21:10:09 UTC) #33
Avi (use Gerrit)
https://codereview.chromium.org/14575004/diff/59001/chrome/browser/bookmarks/bookmark_html_reader.h File chrome/browser/bookmarks/bookmark_html_reader.h (right): https://codereview.chromium.org/14575004/diff/59001/chrome/browser/bookmarks/bookmark_html_reader.h#newcode52 chrome/browser/bookmarks/bookmark_html_reader.h:52: namespace exposed_for_testing { On 2013/05/10 20:37:57, gab wrote: > ...
7 years, 7 months ago (2013-05-10 21:34:52 UTC) #34
tfarina
On Fri, May 10, 2013 at 6:34 PM, <avi@chromium.org> wrote: > https://codereview.chromium.org/14575004/diff/65001/chrome/browser/bookmarks/bookmark_html_reader.cc#newcode53 > chrome/browser/bookmarks/bookmark_html_reader.cc:53: void ...
7 years, 7 months ago (2013-05-10 21:39:25 UTC) #35
Avi (use Gerrit)
On 2013/05/10 21:39:25, tfarina wrote: > It isn't desired, but you can. > > $ ...
7 years, 7 months ago (2013-05-10 21:44:37 UTC) #36
gab
Thanks for clarifying, I'm only unhappy about ReencodeFavicon; everything else looks great! Cheers, Gab https://codereview.chromium.org/14575004/diff/59001/chrome/browser/importer/bookmarks_file_importer.cc ...
7 years, 7 months ago (2013-05-10 21:47:44 UTC) #37
Avi (use Gerrit)
https://codereview.chromium.org/14575004/diff/65001/chrome/browser/bookmarks/bookmark_html_reader.cc File chrome/browser/bookmarks/bookmark_html_reader.cc (right): https://codereview.chromium.org/14575004/diff/65001/chrome/browser/bookmarks/bookmark_html_reader.cc#newcode53 chrome/browser/bookmarks/bookmark_html_reader.cc:53: void DataURLToFaviconUsage( I am not happy about this either. ...
7 years, 7 months ago (2013-05-10 21:51:42 UTC) #38
tfarina
https://codereview.chromium.org/14575004/diff/72018/chrome/browser/bookmarks/bookmark_html_reader.cc File chrome/browser/bookmarks/bookmark_html_reader.cc (right): https://codereview.chromium.org/14575004/diff/72018/chrome/browser/bookmarks/bookmark_html_reader.cc#newcode19 chrome/browser/bookmarks/bookmark_html_reader.cc:19: #include "googleurl/src/gurl.h" sort https://codereview.chromium.org/14575004/diff/72018/chrome/browser/bookmarks/bookmark_html_reader.h File chrome/browser/bookmarks/bookmark_html_reader.h (right): https://codereview.chromium.org/14575004/diff/72018/chrome/browser/bookmarks/bookmark_html_reader.h#newcode96 chrome/browser/bookmarks/bookmark_html_reader.h:96: ...
7 years, 7 months ago (2013-05-10 21:57:04 UTC) #39
Avi (use Gerrit)
https://codereview.chromium.org/14575004/diff/72018/chrome/browser/bookmarks/bookmark_html_reader.cc File chrome/browser/bookmarks/bookmark_html_reader.cc (right): https://codereview.chromium.org/14575004/diff/72018/chrome/browser/bookmarks/bookmark_html_reader.cc#newcode19 chrome/browser/bookmarks/bookmark_html_reader.cc:19: #include "googleurl/src/gurl.h" On 2013/05/10 21:57:04, tfarina wrote: > sort ...
7 years, 7 months ago (2013-05-10 22:04:37 UTC) #40
gab
https://codereview.chromium.org/14575004/diff/65001/chrome/browser/bookmarks/bookmark_html_reader.cc File chrome/browser/bookmarks/bookmark_html_reader.cc (right): https://codereview.chromium.org/14575004/diff/65001/chrome/browser/bookmarks/bookmark_html_reader.cc#newcode53 chrome/browser/bookmarks/bookmark_html_reader.cc:53: void DataURLToFaviconUsage( On 2013/05/10 21:51:43, Avi wrote: > I ...
7 years, 7 months ago (2013-05-13 13:34:42 UTC) #41
Avi (use Gerrit)
On 2013/05/13 13:34:42, gab wrote: > Why can't bookmarks depend on favicons again? Feels like ...
7 years, 7 months ago (2013-05-13 14:23:00 UTC) #42
Avi (use Gerrit)
Scott says that the dependency is OK. Going for it.
7 years, 7 months ago (2013-05-13 14:41:00 UTC) #43
gab
On May 13, 2013 10:41 AM, <avi@chromium.org> wrote: > > Scott says that the dependency ...
7 years, 7 months ago (2013-05-13 15:06:16 UTC) #44
Avi (use Gerrit)
Please take a look.
7 years, 7 months ago (2013-05-13 17:34:44 UTC) #45
tfarina
https://codereview.chromium.org/14575004/diff/99001/chrome/browser/bookmarks/bookmark_html_reader.h File chrome/browser/bookmarks/bookmark_html_reader.h (right): https://codereview.chromium.org/14575004/diff/99001/chrome/browser/bookmarks/bookmark_html_reader.h#newcode43 chrome/browser/bookmarks/bookmark_html_reader.h:43: base::Callback<bool(void)>* cancellation_callback, output parameters should come after input parameters. ...
7 years, 7 months ago (2013-05-13 18:08:38 UTC) #46
Avi (use Gerrit)
https://codereview.chromium.org/14575004/diff/99001/chrome/browser/bookmarks/bookmark_html_reader.h File chrome/browser/bookmarks/bookmark_html_reader.h (right): https://codereview.chromium.org/14575004/diff/99001/chrome/browser/bookmarks/bookmark_html_reader.h#newcode43 chrome/browser/bookmarks/bookmark_html_reader.h:43: base::Callback<bool(void)>* cancellation_callback, On 2013/05/13 18:08:38, tfarina wrote: > output ...
7 years, 7 months ago (2013-05-13 19:30:49 UTC) #47
sky
SLGTM
7 years, 7 months ago (2013-05-13 19:54:24 UTC) #48
Avi (use Gerrit)
Chris, can you look at the messages change? I moved two classes from one directory ...
7 years, 7 months ago (2013-05-13 20:10:22 UTC) #49
tfarina
https://codereview.chromium.org/14575004/diff/110001/chrome/browser/bookmarks/bookmark_html_reader.cc File chrome/browser/bookmarks/bookmark_html_reader.cc (right): https://codereview.chromium.org/14575004/diff/110001/chrome/browser/bookmarks/bookmark_html_reader.cc#newcode89 chrome/browser/bookmarks/bookmark_html_reader.cc:89: void ImportBookmarksFile(base::Callback<bool(void)>* cancellation_callback, why don't you pass by const-ref ...
7 years, 7 months ago (2013-05-13 20:18:17 UTC) #50
tfarina
https://codereview.chromium.org/14575004/diff/110001/chrome/browser/bookmarks/bookmark_html_reader.cc File chrome/browser/bookmarks/bookmark_html_reader.cc (right): https://codereview.chromium.org/14575004/diff/110001/chrome/browser/bookmarks/bookmark_html_reader.cc#newcode89 chrome/browser/bookmarks/bookmark_html_reader.cc:89: void ImportBookmarksFile(base::Callback<bool(void)>* cancellation_callback, why don't you pass by const-ref ...
7 years, 7 months ago (2013-05-13 20:18:17 UTC) #51
Avi (use Gerrit)
https://codereview.chromium.org/14575004/diff/110001/chrome/browser/bookmarks/bookmark_html_reader.cc File chrome/browser/bookmarks/bookmark_html_reader.cc (right): https://codereview.chromium.org/14575004/diff/110001/chrome/browser/bookmarks/bookmark_html_reader.cc#newcode109 chrome/browser/bookmarks/bookmark_html_reader.cc:109: (!cancellation_callback || !cancellation_callback->Run()); On 2013/05/13 20:18:18, tfarina wrote: > ...
7 years, 7 months ago (2013-05-13 21:22:59 UTC) #52
gab
LGTM w/ suggestion for an extra test below. Cheers (and thanks!)! Gab https://codereview.chromium.org/14575004/diff/118001/chrome/browser/bookmarks/bookmark_html_reader_unittest.cc File chrome/browser/bookmarks/bookmark_html_reader_unittest.cc ...
7 years, 7 months ago (2013-05-13 21:53:01 UTC) #53
Avi (use Gerrit)
https://codereview.chromium.org/14575004/diff/118001/chrome/browser/bookmarks/bookmark_html_reader_unittest.cc File chrome/browser/bookmarks/bookmark_html_reader_unittest.cc (right): https://codereview.chromium.org/14575004/diff/118001/chrome/browser/bookmarks/bookmark_html_reader_unittest.cc#newcode143 chrome/browser/bookmarks/bookmark_html_reader_unittest.cc:143: ImportBookmarksFile(base::Callback<bool(void)>(), On 2013/05/13 21:53:01, gab wrote: > I suggest ...
7 years, 7 months ago (2013-05-13 23:34:19 UTC) #54
gab
Awesome, thanks! Some comments/suggestions below. Gab https://codereview.chromium.org/14575004/diff/88003/chrome/browser/bookmarks/bookmark_html_reader_unittest.cc File chrome/browser/bookmarks/bookmark_html_reader_unittest.cc (right): https://codereview.chromium.org/14575004/diff/88003/chrome/browser/bookmarks/bookmark_html_reader_unittest.cc#newcode200 chrome/browser/bookmarks/bookmark_html_reader_unittest.cc:200: // Import Epiphany ...
7 years, 7 months ago (2013-05-14 02:19:22 UTC) #55
Avi (use Gerrit)
Massive cleanup of the test. You were right; it's a lot nicer this way.
7 years, 7 months ago (2013-05-14 14:21:34 UTC) #56
gab
Awesome, LGTM++. Cheers! Gab https://codereview.chromium.org/14575004/diff/154001/chrome/browser/bookmarks/bookmark_html_reader_unittest.cc File chrome/browser/bookmarks/bookmark_html_reader_unittest.cc (right): https://codereview.chromium.org/14575004/diff/154001/chrome/browser/bookmarks/bookmark_html_reader_unittest.cc#newcode217 chrome/browser/bookmarks/bookmark_html_reader_unittest.cc:217: class CancelAfterFifteenCalls { optional: I ...
7 years, 7 months ago (2013-05-14 15:34:04 UTC) #57
Avi (use Gerrit)
https://codereview.chromium.org/14575004/diff/154001/chrome/browser/bookmarks/bookmark_html_reader_unittest.cc File chrome/browser/bookmarks/bookmark_html_reader_unittest.cc (right): https://codereview.chromium.org/14575004/diff/154001/chrome/browser/bookmarks/bookmark_html_reader_unittest.cc#newcode217 chrome/browser/bookmarks/bookmark_html_reader_unittest.cc:217: class CancelAfterFifteenCalls { On 2013/05/14 15:34:04, gab wrote: > ...
7 years, 7 months ago (2013-05-14 16:10:23 UTC) #58
Cris Neckar
LGTM IPC review rubber stamp. No functional changes.
7 years, 7 months ago (2013-05-14 17:05:12 UTC) #59
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/avi@chromium.org/14575004/154001
7 years, 7 months ago (2013-05-14 17:07:33 UTC) #60
Avi (use Gerrit)
7 years, 7 months ago (2013-05-14 19:12:14 UTC) #61
Message was sent while issue was closed.
Committed patchset #20 manually as r200042 (presubmit successful).

Powered by Google App Engine