| Index: base/platform_file.cc
|
| ===================================================================
|
| --- base/platform_file.cc (revision 179457)
|
| +++ base/platform_file.cc (working copy)
|
| @@ -14,4 +14,16 @@
|
|
|
| PlatformFileInfo::~PlatformFileInfo() {}
|
|
|
| +PlatformFile CreatePlatformFile(const FilePath& name,
|
| + int flags,
|
| + bool* created,
|
| + PlatformFileError* error) {
|
| + if (name.ReferencesParent()) {
|
| + if (error)
|
| + *error = PLATFORM_FILE_ERROR_ACCESS_DENIED;
|
| + return kInvalidPlatformFileValue;
|
| + }
|
| + return CreatePlatformFileUnsafe(name, flags, created, error);
|
| +}
|
| +
|
| } // namespace base
|
|
|