DescriptionAdd support for int64 and uint64 in values.h's API.
A lot of callers -- including PrefService and PrefRegistry -- have custom
code to handle (u)int64 inside DictionaryValue/ListValue.
Introduce support directly in values.h's API to avoid code duplication at
every call site.
This CL cleans an example call site in PrefHashFilter (since it's also under the prefs/ umbrella), but doesn't clean
up all other call sites (https://code.google.com/p/chromium/codesearch#search/&q=base::Int64ToString) those should be cleaned over time.
Motivated by a request @ https://codereview.chromium.org/229763005/diff/150001/chrome/browser/search_engines/default_search_manager.cc#newcode73
BUG=None
Patch Set 1 : #Patch Set 2 : fix compile #Patch Set 3 : fix test compile #
Messages
Total messages: 11 (0 generated)
|