summaryrefslogtreecommitdiffstats
path: root/base/shared_memory.h
diff options
context:
space:
mode:
authoravi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-13 19:59:07 +0000
committeravi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-13 19:59:07 +0000
commitcba5d987abca6016a534dce83136141869c18aac (patch)
treed675ac5cc34388c16988adf2795c4172cdbec041 /base/shared_memory.h
parent9f8303cb3bd19db39f626b1e838310b645da4ad6 (diff)
downloadchromium_src-cba5d987abca6016a534dce83136141869c18aac.zip
chromium_src-cba5d987abca6016a534dce83136141869c18aac.tar.gz
chromium_src-cba5d987abca6016a534dce83136141869c18aac.tar.bz2
Revving the shared memory to the comments on the list.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@824 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/shared_memory.h')
-rw-r--r--base/shared_memory.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/shared_memory.h b/base/shared_memory.h
index 74888e8..0723a57 100644
--- a/base/shared_memory.h
+++ b/base/shared_memory.h
@@ -136,6 +136,9 @@ class SharedMemory {
void Unlock();
private:
+#if defined(OS_POSIX)
+ bool CreateOrOpen(const std::wstring &name, int posix_flags);
+#endif
bool ShareToProcessCommon(ProcessHandle process,
SharedMemoryHandle *new_handle, bool close_self);