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 |
| 13 // function returns false, this indicates that either the file specified by |
| 14 // |path| does not exist, 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 |