Fix three Windows base_unittests to not require admin

These three base_unittests tests fail when run as non-admin on Windows
if %temp% is set to a non-standard location such as d:\src\temp:

- FileTest.GetInfoForDirectory
- FileUtilTest.FileEnumeratorTest
- FileUtilTest.NormalizeFilePathReparsePoints

They all fail because the default user doesn't have enough permissions
to open the directories with FILE_ALL_ACCESS.

Asking for fewer permissions allows the tests to pass regardless of
user-type and %temp% location.

R=rvargas@chromium.org
BUG=533018

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

Cr-Commit-Position: refs/heads/master@{#349485}


CrOS-Libchrome-Original-Commit: 35b35d85da7746865bc66f3dee35487567e0a356
2 files changed
tree: f90deb24d5d084241e09675abc38de9e24c177ca
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/