Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 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 CHROMECAST_BASE_FILE_UTILS_H_ | |
| 6 #define CHROMECAST_BASE_FILE_UTILS_H_ | |
| 7 | |
| 8 #include "base/files/file_path.h" | |
| 9 | |
| 10 namespace chromecast { | |
| 11 | |
| 12 // Used for locking/unlocking files. This is a blocking request. If the methods | |
|
bcf
2016/08/03 02:40:23
Super nit: These aren't technically methods since
ameyak
2016/08/03 18:50:32
Done. Technically correct is the best kind of corr
| |
| 13 // fail, this indicates that either the file specified by |path| does not exist, | |
| 14 // or the locking procedure failed. | |
| 15 bool LockFile(const base::FilePath& path); | |
| 16 bool UnlockFile(const base::FilePath& path); | |
| 17 | |
| 18 } // namespace chromecast | |
| 19 | |
| 20 #endif // CHROMECAST_BASE_FILE_UTILS_H_ | |
| OLD | NEW |