summaryrefslogtreecommitdiffstats
path: root/base/memory/shared_memory.h
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2015-12-16 23:45:42 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-17 07:46:23 +0000
commitd3ede883000c85863bbbf7265bc4175d57ea3ec1 (patch)
tree6653e66a43ea9bf5bf674439e691f73f13af145d /base/memory/shared_memory.h
parent7a893175d5b6c115b3d80f7a98d927eee11a3efd (diff)
downloadchromium_src-d3ede883000c85863bbbf7265bc4175d57ea3ec1.zip
chromium_src-d3ede883000c85863bbbf7265bc4175d57ea3ec1.tar.gz
chromium_src-d3ede883000c85863bbbf7265bc4175d57ea3ec1.tar.bz2
Cleanup: Remove unused SharedMemory ctor.
BUG=345734 Review URL: https://codereview.chromium.org/1529283002 Cr-Commit-Position: refs/heads/master@{#365776}
Diffstat (limited to 'base/memory/shared_memory.h')
-rw-r--r--base/memory/shared_memory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/memory/shared_memory.h b/base/memory/shared_memory.h
index 18416c0..b7a5ce1 100644
--- a/base/memory/shared_memory.h
+++ b/base/memory/shared_memory.h
@@ -84,12 +84,14 @@ class BASE_EXPORT SharedMemory {
// that |read_only| matches the permissions of the handle.
SharedMemory(const SharedMemoryHandle& handle, bool read_only);
+#if defined(OS_WIN)
// Create a new SharedMemory object from an existing, open
// shared memory file that was created by a remote process and not shared
// to the current process.
SharedMemory(const SharedMemoryHandle& handle,
bool read_only,
ProcessHandle process);
+#endif
// Closes any open files.
~SharedMemory();