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

Issue 2904013: Don't set the URL on folders. (Closed)

Created:
10 years, 5 months ago by ncarter (slow)
Modified:
9 years, 7 months ago
Reviewers:
akalin
CC:
chromium-reviews, Raghu Simha, ncarter (slow), ben+cc_chromium.org, tim (not reviewing), idana
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Don't set the URL on folders, even to an empty string. This suppresses a harmless LOG(ERROR) on SPECIFICS / SERVER_SPECIFICS not matching. That's because the server doesn't return preserve a URL field on folder entities, so if we set it locally (even to the empty string), it won't be returned in the result message. BUG=45610 TEST=create a folder, rename it, verify no 'LOG(WARNING) << "Specifics mismatch"' from syncer_util.cc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52269

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M chrome/browser/sync/glue/bookmark_change_processor.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
ncarter (slow)
Don't set the URL on folders, even to an empty string. This suppresses a harmless ...
10 years, 5 months ago (2010-07-14 01:09:30 UTC) #1
akalin
10 years, 5 months ago (2010-07-14 01:50:49 UTC) #2
LGTM

On 2010/07/14 01:09:30, ncarter wrote:
> Don't set the URL on folders, even to an empty string.
> 
> This suppresses a harmless LOG(ERROR) on SPECIFICS / SERVER_SPECIFICS not
> matching.  That's because the server doesn't return preserve a URL field on
> folder entities, so if we set it locally (even to the empty string), it won't
be
> returned in the result message.

Powered by Google App Engine
This is Rietveld 408576698