Adjust strings returned by printerProviders for locale direction
commitc51e7e95c3c45d17a477df95f8511d23848009dd
authortbarzic <tbarzic@chromium.org>
Fri, 6 Mar 2015 00:02:42 +0000 (5 16:02 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 6 Mar 2015 00:03:34 +0000 (6 00:03 +0000)
treee75ab830f9146e2550145b11fa574a91d612e631
parent60e299a0dd4aaa535b1c60cbc42e3f92c4c620d4
Adjust strings returned by printerProviders for locale direction

Some strings returned by onGetPrintersRequested event end up being
displayed in print preview UI; this adjusts hese strings to be properly
displayed if their locale direction is different from the current one.

BUG=None
TEST=printer named 'Printer_' is displayed as 'Printer_' with ar locale

Review URL: https://codereview.chromium.org/979733005

Cr-Commit-Position: refs/heads/master@{#319372}
extensions/browser/api/printer_provider/printer_provider_api.cc