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

Issue 155128: Converting the history::StarredEntry::Type to a type defined in BookmarkNode.... (Closed)

Created:
11 years, 5 months ago by tfarina (gmail-do not use)
Modified:
9 years, 7 months ago
Reviewers:
sky
CC:
chromium-reviews_googlegroups.com, kuchhal, Ben Goodger (Google)
Visibility:
Public.

Description

Converting the history::StarredEntry::Type to a type defined in BookmarkNode. BUG=None TEST=None

Patch Set 1 #

Total comments: 16

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 6

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -57 lines) Patch
M chrome/browser/bookmarks/bookmark_codec.cc View 1 2 3 4 5 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_html_writer.cc View 1 2 3 4 5 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_model.h View 1 2 3 4 4 chunks +11 lines, -6 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_model.cc View 1 2 3 4 8 chunks +25 lines, -12 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_model_test_utils.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/bookmarks/bookmark_model_unittest.cc View 12 chunks +15 lines, -17 lines 0 comments Download
M chrome/browser/importer/importer.cc View 1 2 3 4 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/metrics/metrics_service.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/views/bookmark_editor_view.cc View 1 2 3 4 2 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
tfarina (gmail-do not use)
11 years, 5 months ago (2009-07-07 04:30:34 UTC) #1
sky
http://codereview.chromium.org/155128/diff/1/6 File chrome/browser/bookmarks/bookmark_model.cc (right): http://codereview.chromium.org/155128/diff/1/6#newcode594 Line 594: int child_count = node->GetChildCount(); move this into the ...
11 years, 5 months ago (2009-07-07 16:02:12 UTC) #2
tfarina (gmail-do not use)
On 2009/07/07 16:02:12, sky wrote: > http://codereview.chromium.org/155128/diff/1/6 > File chrome/browser/bookmarks/bookmark_model.cc (right): > > http://codereview.chromium.org/155128/diff/1/6#newcode594 > ...
11 years, 5 months ago (2009-07-07 16:47:39 UTC) #3
tfarina (gmail-do not use)
http://codereview.chromium.org/155128/diff/1/6 File chrome/browser/bookmarks/bookmark_model.cc (right): http://codereview.chromium.org/155128/diff/1/6#newcode594 Line 594: int child_count = node->GetChildCount(); On 2009/07/07 16:02:12, sky ...
11 years, 5 months ago (2009-07-07 16:48:04 UTC) #4
sky
I was fine with you caching the GetChildCount. All I was suggesting was go from: ...
11 years, 5 months ago (2009-07-07 20:08:00 UTC) #5
tfarina (gmail-do not use)
Scott, It's okay if I switch to: for (int i =3D 0, child_count =3D xxx; ...
11 years, 5 months ago (2009-07-07 20:32:09 UTC) #6
sky
Certainly. Just make sure the loop doesn't change the child count. -Scott On Tue, Jul ...
11 years, 5 months ago (2009-07-07 20:38:15 UTC) #7
tfarina (gmail-do not use)
http://codereview.chromium.org/155128/diff/1015/30 File chrome/browser/bookmarks/bookmark_model.cc (right): http://codereview.chromium.org/155128/diff/1015/30#newcode69 Line 69: break; On 2009/07/07 20:08:01, sky wrote: > Add ...
11 years, 5 months ago (2009-07-07 20:59:58 UTC) #8
tfarina (gmail-do not use)
Scott I ran the unit_tests and everything worked as expected.
11 years, 5 months ago (2009-07-08 03:42:00 UTC) #9
sky
11 years, 5 months ago (2009-07-08 21:55:11 UTC) #10
Landed in r20195.

Powered by Google App Engine
This is Rietveld 408576698