DescriptionMove l10n_util's GetCanonicalLocal() function into base/i18n module.
This removes the base version that takes const char*, and replace it by the one that takes const std::string&. Consolidating this code in one place and having a single function, instead of two with the same name in two different places.
This is a redo of a patch that started in
https://codereview.chromium.org/269943004/
and of another try that was made in
https://codereview.chromium.org/834183005/.
BUG=None
TEST=base_unittests, ui_base_unittests and chrome.
R=sky@chromium.org,thakis@chromium.org
Committed: https://crrev.com/70dff4fc82ac26c9beecc54644ab7ee055596862
Cr-Commit-Position: refs/heads/master@{#311781}
Patch Set 1 #Patch Set 2 : fix chromeos #
Messages
Total messages: 11 (1 generated)
|