PNaCl cleanup: Reuse base::File for closing a handle/FD
This removes a dependency on the NACL_WINDOWS macro, which is defined in non-public native_client headers. It also gets the benefit of the error-checking that base/ does for close()/CloseHandle(). BUG= https://bugs.chromium.org/p/nativeclient/issues/detail?id=2832 TEST=e.g. NaClBrowserTestPnacl.PPAPICore (tests PNaCl translation) Review URL: https://codereview.chromium.org/1640523002 Cr-Commit-Position: refs/heads/master@{#371692}
Showing
Please register or sign in to comment