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

Issue 6288016: Handle sync values of wrong type more graceful (Closed)

Created:
9 years, 11 months ago by Mattias Nissler (ping if slow)
Modified:
9 years, 7 months ago
Reviewers:
albertb, skrul
CC:
chromium-reviews, Raghu Simha, ncarter (slow), tim (not reviewing), idana, battre
Visibility:
Public.

Description

Handle sync values of wrong type more graceful. Clear prefs that the server reports TYPE_NULL values for and log a warning if the type is off otherwise. BUG=70823 TEST=compiles and passes tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72786

Patch Set 1 #

Patch Set 2 : Clear pref if it's TYPE_NULL #

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

Messages

Total messages: 6 (0 generated)
Mattias Nissler (ping if slow)
Please review. This avoids a DCHECK on debug builds, but doesn't change semantics for release ...
9 years, 11 months ago (2011-01-26 17:49:39 UTC) #1
albertb
Do you mean that some of your preferences are stored as null on the sync ...
9 years, 11 months ago (2011-01-26 18:09:05 UTC) #2
Mattias Nissler (ping if slow)
On 2011/01/26 18:09:05, albertb wrote: > Do you mean that some of your preferences are ...
9 years, 11 months ago (2011-01-26 18:27:50 UTC) #3
albertb
As discussed over chat, it seems like whenever the server has a pref stored as ...
9 years, 11 months ago (2011-01-26 19:09:25 UTC) #4
Mattias Nissler (ping if slow)
New version with the ClearPref()/warning approach.
9 years, 11 months ago (2011-01-26 19:17:02 UTC) #5
albertb
9 years, 11 months ago (2011-01-26 19:17:16 UTC) #6
LGTM!

Powered by Google App Engine
This is Rietveld 408576698