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

Issue 6931018: Initial implementation of "Synced Bookmarks" folder. (Closed)

Created:
9 years, 7 months ago by Yaron
Modified:
9 years, 7 months ago
CC:
chromium-reviews, idana, Raghu Simha, Erik does not do reviews, Paweł Hajdan Jr., Aaron Boodman, pam+watch_chromium.org, brettw-cc_chromium.org, tim (not reviewing)
Visibility:
Public.

Description

Initial implementation of "Synced Bookmarks" folder. Mostly ensures that sycned bookmarks are correctly treated as an immutable folder. Some of the UI-bits maybe incomplete. For example, if enable-synced-bookmarks-folder is set, then synced bookmarks will appear in the bookmark manager page and some components of the UI but it's not on the bookmark bar or anything like that. This change also ensures that the synced bookmark folder matches a sync folder if one is available. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=84829

Patch Set 1 #

Patch Set 2 : Fixes for non-linux breakage on trybot #

Total comments: 4

Patch Set 3 : Fixed some more test failures. Addressed nits. #

Patch Set 4 : Commit-bot complained about bookmark_editor_gtk_unittest. Trying re-upload to fix #

Patch Set 5 : Rebased #

Patch Set 6 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+497 lines, -132 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_codec.h View 6 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_codec.cc View 7 chunks +26 lines, -7 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_codec_unittest.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_html_writer.cc View 5 chunks +16 lines, -7 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_html_writer_unittest.cc View 5 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_model.h View 1 2 6 chunks +13 lines, -3 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_model.cc View 8 chunks +27 lines, -3 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_model_unittest.cc View 1 2 21 chunks +133 lines, -79 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_storage.h View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_storage.cc View 3 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/bookmarks/bookmark_utils.cc View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/bookmarks/recently_used_folders_combo_model.cc View 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_bookmark_helpers.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/history/history_types.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/history/starred_url_database.cc View 1 2 3 4 7 chunks +45 lines, -1 line 0 comments Download
M chrome/browser/sync/engine/download_updates_command.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/bookmark_change_processor.cc View 1 2 3 4 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/sync/glue/bookmark_model_associator.cc View 9 chunks +46 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_bookmark_unittest.cc View 1 2 20 chunks +92 lines, -17 lines 0 comments Download
M chrome/browser/sync/protocol/sync.proto View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm View 2 chunks +2 lines, -0 lines 0 comments Download
chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc View 1 2 6 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
tim (not reviewing)
LGTM http://codereview.chromium.org/6931018/diff/2001/chrome/browser/bookmarks/bookmark_model.h File chrome/browser/bookmarks/bookmark_model.h (right): http://codereview.chromium.org/6931018/diff/2001/chrome/browser/bookmarks/bookmark_model.h#newcode320 chrome/browser/bookmarks/bookmark_model.h:320: } nit - indent http://codereview.chromium.org/6931018/diff/2001/chrome/browser/sync/profile_sync_service_bookmark_unittest.cc File chrome/browser/sync/profile_sync_service_bookmark_unittest.cc (right): ...
9 years, 7 months ago (2011-05-05 20:18:34 UTC) #1
Yaron
Comments addressed. I also fixed some unit tests that I broke when adding the command ...
9 years, 7 months ago (2011-05-05 22:51:31 UTC) #2
commit-bot: I haz the power
Can't process patch for file chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc. File's status is None, patchset upload is incomplete.
9 years, 7 months ago (2011-05-09 21:31:30 UTC) #3
Yaron
On 2011/05/09 21:31:30, commit-bot wrote: > Can't process patch for file > chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc. > File's ...
9 years, 7 months ago (2011-05-09 21:52:15 UTC) #4
ncarter (slow)
On 2011/05/09 21:52:15, Yaron wrote: > On 2011/05/09 21:31:30, commit-bot wrote: > > Can't process ...
9 years, 7 months ago (2011-05-09 22:01:38 UTC) #5
Yaron
On 2011/05/09 22:01:38, ncarter wrote: > On 2011/05/09 21:52:15, Yaron wrote: > > On 2011/05/09 ...
9 years, 7 months ago (2011-05-10 00:18:49 UTC) #6
sky
How come you didn't include reviewers listed in chrome/browser/bookmarks/OWNERS? -Scott
9 years, 7 months ago (2011-05-11 14:48:07 UTC) #7
Yaron
It was an honest mistake, sorry. 1) It's been a while since I've worked in ...
9 years, 7 months ago (2011-05-11 15:47:02 UTC) #8
sky
Understood. I'm not sure I would have caught the regression in a review. Now you ...
9 years, 7 months ago (2011-05-11 15:51:07 UTC) #9
tim (not reviewing)
My bad too. Does the commit bot check for multiple LGTMs? On Wed, May 11, ...
9 years, 7 months ago (2011-05-11 15:51:57 UTC) #10
sky
I know from the command line if you don't have LGTMs from the necessary folks ...
9 years, 7 months ago (2011-05-11 15:54:44 UTC) #11
Yaron
Tim, if you recall, I couldn't use the commit bot because of the issue with ...
9 years, 7 months ago (2011-05-11 15:55:42 UTC) #12
Yaron
9 years, 7 months ago (2011-05-11 15:56:24 UTC) #13
Strange because I used "git cl dcommit" and I definitely didn't force it.
 
On 2011/05/11 15:54:44, sky wrote:
> I know from the command line if you don't have LGTMs from the
> necessary folks you have to use -f, but I'm not sure about the commit
> bot.
> 
>   -Scott
> 
> On Wed, May 11, 2011 at 8:51 AM, Tim Steele <mailto:tim@chromium.org> wrote:
> > My bad too. &nbsp;Does the commit bot check for multiple LGTMs?
> >
> > On Wed, May 11, 2011 at 8:47 AM, <mailto:yfriedman@chromium.org> wrote:
> >>
> >> It was an honest mistake, sorry.
> >> 1) It's been a while since I've worked in a codebase where I'm not an
> >> owner and
> >> so it slipped my mind
> >> 2) I didn't realize owners wasn't enforced by tooling.
> >>
> >> I'll revert this because of 82273 and so you can do a proper review.
> >>
> >> On 2011/05/11 14:48:07, sky wrote:
> >>>
> >>> How come you didn't include reviewers listed in
> >>> chrome/browser/bookmarks/OWNERS?
> >>
> >>> &nbsp; -Scott
> >>
> >>
> >>
> >> http://codereview.chromium.org/6931018/
> >
> >

Powered by Google App Engine
This is Rietveld 408576698