summaryrefslogtreecommitdiffstats
path: root/base/shared_memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/shared_memory.h')
-rw-r--r--base/shared_memory.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/base/shared_memory.h b/base/shared_memory.h
index ea72069..90bed59 100644
--- a/base/shared_memory.h
+++ b/base/shared_memory.h
@@ -17,6 +17,8 @@
#include "base/basictypes.h"
#include "base/process.h"
+class FilePath;
+
namespace base {
// SharedMemoryHandle is a platform specific type which represents
@@ -160,8 +162,7 @@ class SharedMemory {
private:
#if defined(OS_POSIX)
bool CreateOrOpen(const std::wstring &name, int posix_flags, size_t size);
- bool FilenameForMemoryName(const std::wstring &memname,
- std::wstring *filename);
+ bool FilePathForMemoryName(const std::wstring& memname, FilePath* path);
void LockOrUnlockCommon(int function);
#endif