| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_ |
| 6 #define WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_ |
| 7 |
| 8 #include "base/file_path.h" |
| 9 #include "base/platform_file.h" |
| 10 |
| 11 namespace base { |
| 12 class Time; // For TouchFile TODO remove comment when it's in. |
| 13 } |
| 14 |
| 15 namespace obfuscated_file_util { |
| 16 |
| 17 using base::PlatformFile; |
| 18 using base::PlatformFileError; |
| 19 |
| 20 PlatformFile CreateOrOpen( |
| 21 const FilePath& root_path, |
| 22 const FilePath& virtual_path, |
| 23 int file_flags, |
| 24 bool *created, |
| 25 PlatformFileError* error); |
| 26 void CreateDirectory( |
| 27 const FilePath& root_path, |
| 28 const FilePath& virtual_path, |
| 29 bool exclusive_, |
| 30 PlatformFileError* error); |
| 31 } |
| 32 |
| 33 #endif // WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_ |
| OLD | NEW |