pre-upload: Add a check for FilePath::CharType stuff

It's safe to assume FilePath::CharType == char in places like
platform2 where we don't have to worry about Windows.

With this assumption, the code can be simplified:

- constexpr base::FilePath::CharType kRunContainersPath[] =
-     FILE_PATH_LITERAL("/run/containers");
+ constexpr char kRunContainersPath[] = "/run/containers";

BUG=chromium:870621
TEST=./pre-upload_unittest.py

Change-Id: I6c96fd3d231ba5d91f074d0c84a28b2a11528af5
Reviewed-on: https://chromium-review.googlesource.com/1163354
Commit-Ready: Satoru Takabayashi <satorux@google.com>
Tested-by: Satoru Takabayashi <satorux@google.com>
Reviewed-by: Dan Erat <derat@chromium.org>
2 files changed