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

Issue 8790008: Changes BookmarkModelAssociator not to fail if mobile folder doesn't (Closed)

Created:
9 years ago by sky
Modified:
9 years ago
Reviewers:
Yaron, akalin, yfriedman
CC:
chromium-reviews, Raghu Simha, ncarter (slow), akalin, tim (not reviewing)
Visibility:
Public.

Description

Changes BookmarkModelAssociator not to fail if mobile folder doesn't exist. This is a regression from http://codereview.chromium.org/8759017 BUG=106238 TEST=none R=akalin@chromium.org,yfriedman@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112851

Patch Set 1 #

Total comments: 2

Patch Set 2 : WARN_UNUSED_RESULT #

Patch Set 3 : ignore_result #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -12 lines) Patch
M chrome/browser/sync/glue/bookmark_model_associator.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/bookmark_model_associator.cc View 1 2 4 chunks +9 lines, -11 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
sky
Let me know if this isn't the right thing to do here.
9 years ago (2011-12-03 00:07:39 UTC) #1
akalin
LGTM I think this is fine to fix the regression, but we'll have to handle ...
9 years ago (2011-12-03 00:12:20 UTC) #2
sky
Added ignore_result and WARN_UNUSED
9 years ago (2011-12-03 00:20:55 UTC) #3
sky
Yaron doesn't seem to be around. I'm going to schedule this for commit to fix ...
9 years ago (2011-12-03 00:24:08 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/8790008/1003
9 years ago (2011-12-03 00:24:31 UTC) #5
akalin
LGTM
9 years ago (2011-12-03 00:25:30 UTC) #6
Yaron
On 2011/12/03 00:25:30, akalin wrote: > LGTM LGTM From http://codereview.chromium.org/8759017, it looks like we'll always ...
9 years ago (2011-12-03 01:32:02 UTC) #7
commit-bot: I haz the power
Change committed as 112851
9 years ago (2011-12-03 02:44:00 UTC) #8
sky
On 2011/12/03 01:32:02, Yaron wrote: > On 2011/12/03 00:25:30, akalin wrote: > > LGTM > ...
9 years ago (2011-12-05 05:33:23 UTC) #9
Yaron
On 2011/12/05 05:33:23, sky wrote: > On 2011/12/03 01:32:02, Yaron wrote: > > On 2011/12/03 ...
9 years ago (2011-12-05 18:49:23 UTC) #10
sky
On Mon, Dec 5, 2011 at 10:49 AM, <yfriedman@chromium.org> wrote: > On 2011/12/05 05:33:23, sky ...
9 years ago (2011-12-05 22:01:22 UTC) #11
yfriedman
9 years ago (2011-12-05 22:42:17 UTC) #12
sgtm

On Mon, Dec 5, 2011 at 2:00 PM, Scott Violet <sky@chromium.org> wrote:

> On Mon, Dec 5, 2011 at 10:49 AM,  <yfriedman@chromium.org> wrote:
> > On 2011/12/05 05:33:23, sky wrote:
> >>
> >> On 2011/12/03 01:32:02, Yaron wrote:
> >> > On 2011/12/03 00:25:30, akalin wrote:
> >> > > LGTM
> >> >
> >> > LGTM
> >> >
> >> > From http://codereview.chromium.org/8759017, it looks like we'll
> always
> >
> > create
> >>
> >> > the mobile folder (because of
> >> >
> >
> >
> >
>
http://codereview.chromium.org/8759017/diff/6001/chrome/browser/sync/engine/d...
> ).
> >>
> >> > I'm not sure that's desirable but this is an improvement, regardless.
> >
> >
> >> I don't know enough about the backend side. Is there some way to change
> >> things
> >> so that we don't trigger creation?
> >
> >
> >>   -Scott
> >
> >
> > That's what get_updates->set_include_syncable_bookmarks(true) is
> supposed to
> > control. It tells the server that it should create the permanent item if
> it
> > doesn't already exist. That's why we had it flag-guarded off. I think
> having
> > the
> > kEnableSyncedBookmarksFolder switch control only that proto field might
> give
> > the
> > desired effect
>
> I'll put it behind a flag and rename it kCreateMobileBookmarksFolder.
> The only place that will check it is in this code. I'll merge it with
> my other cl. SG?
>
>  -Scott
>

Powered by Google App Engine
This is Rietveld 408576698