Chromium Code Reviews| Index: net/disk_cache/simple/simple_util_posix.cc |
| diff --git a/net/disk_cache/simple/simple_util_posix.cc b/net/disk_cache/simple/simple_util_posix.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e3cb9d27f0d892b74354cffd9306594f5e93cdc6 |
| --- /dev/null |
| +++ b/net/disk_cache/simple/simple_util_posix.cc |
| @@ -0,0 +1,17 @@ |
| +// Copyright (c) 2014 The Chromium Authors. All rights reserved. |
|
mmenke
2014/10/28 20:07:43
nit: Don't use (c) in new files (x3)
gavinp
2014/10/28 23:09:40
Done. But x3? Isn't it x2?
mmenke
2014/10/28 23:58:36
Oops...forgot you didn't add simple_util.h in this
gavinp
2014/10/29 03:12:25
Acknowledged.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "net/disk_cache/simple/simple_util.h" |
| + |
| +#include "base/files/file_util.h" |
| + |
| +namespace disk_cache { |
| +namespace simple_util { |
| + |
| +bool SimpleCacheDeleteFile(const base::FilePath& path) { |
| + return base::DeleteFile(path, false); |
| +} |
| + |
| +} // namespace simple_util |
| +} // namespace disk_cache |