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

Unified Diff: base/shared_memory.h

Issue 204024: posix: clean up shared memory code (Closed)
Patch Set: ok Created 11 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/shared_memory_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/shared_memory.h
diff --git a/base/shared_memory.h b/base/shared_memory.h
index ea720694930f82bf3b709385f7bad16c814a5165..90bed59ca0b0557048eb39806fb59921506735f3 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
« no previous file with comments | « no previous file | base/shared_memory_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698