Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Side by Side Diff: chromecast/base/file_utils.h

Issue 2203123003: [Chromecast] Remove usage of nonreentrant functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: bcf@ comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698