summaryrefslogtreecommitdiffstats
path: root/rlz/lib/recursive_cross_process_lock_posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'rlz/lib/recursive_cross_process_lock_posix.h')
-rw-r--r--rlz/lib/recursive_cross_process_lock_posix.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/rlz/lib/recursive_cross_process_lock_posix.h b/rlz/lib/recursive_cross_process_lock_posix.h
index a39d473..69a2c7a 100644
--- a/rlz/lib/recursive_cross_process_lock_posix.h
+++ b/rlz/lib/recursive_cross_process_lock_posix.h
@@ -7,7 +7,9 @@
#include <pthread.h>
+namespace base {
class FilePath;
+}
namespace rlz_lib {
@@ -20,7 +22,7 @@ struct RecursiveCrossProcessLock {
// Tries to acquire a recursive cross-process lock. Note that this _always_
// acquires the in-process lock (if it wasn't already acquired). The parent
// directory of |lock_file| must exist.
- bool TryGetCrossProcessLock(const FilePath& lock_filename);
+ bool TryGetCrossProcessLock(const base::FilePath& lock_filename);
// Releases the lock. Should always be called, even if
// TryGetCrossProcessLock() returned |false|.