Expand accept languages
Expand accept languages by adding base language from language-country pair, using the same logic that Chrome is already using. This aligns with this W3C doc: https://www.w3.org/International/questions/qa-lang-priorities#langtagdetail Currently not behind a feature, will be followed by a change to use a feature. Also slightly refactoring tests to improve readability. Bug: 882587, 737232 Change-Id: I1e067bde4ae5b00b6b7c3be765a9cd97bbbb96df Reviewed-on: https://chromium-review.googlesource.com/c/1286936 Commit-Queue: Changwan Ryu <changwan@chromium.org> Reviewed-by:Bo <boliu@chromium.org> Reviewed-by:
Nate Fischer <ntfschr@chromium.org> Cr-Commit-Position: refs/heads/master@{#601334}
Showing
Please register or sign in to comment