DescriptionImprove the timezone matching
GetKnownTimezoneOrNull() is supposed to find a matching timezone entry
to an input tz id in the CrOS tz list. When looking for a match, the
canonical ids have to be taken into account.
Note: This CL started as a speculative fix to bug 466014, but
I couldn't verify that it fixes the bug on CrOS. It does fix the bug
when I tested 'Chrome with cros=1' on Linux (i.e. stub implementation.)
with tz changed on Linux.
BUG=466014
TEST=manual: see the bug
Committed: https://crrev.com/77e507bdf737ccbf193352ebd09554fea12c2f44
Cr-Commit-Position: refs/heads/master@{#326709}
Patch Set 1 #Patch Set 2 : logs added for debug #Patch Set 3 : remove most logs #
Total comments: 4
Patch Set 4 : range for-loop with auto #Patch Set 5 : unittest #
Total comments: 6
Patch Set 6 : add unittest, update the logic #Patch Set 7 : format fix #Patch Set 8 : add const to for-loop variable #
Total comments: 9
Patch Set 9 : review comments addressed #
Total comments: 1
Patch Set 10 : static removed #Patch Set 11 : update gn build #
Messages
Total messages: 29 (9 generated)
|