DOM Storage: Simplified filename -> utf8 conversion.
commitc1e2eadf7e1eed43f0df46c07a81de1bc029d922
authorcmumford <cmumford@chromium.org>
Thu, 16 Jul 2015 16:53:39 +0000 (16 09:53 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 16 Jul 2015 16:54:06 +0000 (16 16:54 +0000)
treeed1e77d3639381e4bf27ed5a17950044d97d7a20
parentd3bd26ebdd2887fc72faa0fcf350ad6959e62f95
DOM Storage: Simplified filename -> utf8 conversion.

Prior implementation called WideToUTF8(file_path.value()), but only on Windows.
The behavior is similar (but not identical) to base::FilePath::AsUTF8Unsafe().
base::FilePath::AsUTF8Unsafe() uses the current device locale.

also, a few lint fixes.

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

Cr-Commit-Position: refs/heads/master@{#339055}
content/browser/dom_storage/session_storage_database.cc