| 206 | } |
| 207 | |
| 208 | void DeleteFilePath(const PathString& log_name) { |
| 209 | #if defined(OS_WIN) |
| 210 | DeleteFile(log_name.c_str()); |
| 211 | #elif defined (OS_NACL) |
| 212 | // Do nothing; unlink() isn't supported on NaCl. |
| 213 | #else |
| 214 | unlink(log_name.c_str()); |
| 215 | #endif |
| 216 | } |
| 217 | |
| 218 | #if defined(OS_LINUX) |
| 219 | static PathString GetProcessName() { |
no test coverage detected