Descriptiongdata: Fix a bug in GDataLevelDB where errors are not handled right
GDataEntry::FromProtoString() fails if incompatible proto is detected
We should return an error rather than DCHECK it.
See crbug.com/142912 for how incompatible proto is rejected.
BUG=127856
TEST=out/Release/unit_tests --gtest_filter=GDataDBTest.*
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=145950
Patch Set 1 #
Total comments: 5
Patch Set 2 : address comments #Patch Set 3 : polish indentation #
Total comments: 2
Patch Set 4 : fix typo #
Messages
Total messages: 5 (0 generated)
|