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

Unified Diff: base/memory/shared_memory.h

Issue 15001027: [Aura] Added Support for rendering software compositor frames as cc::TextureLayers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years, 6 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/memory/shared_memory_nacl.cc » ('j') | base/memory/shared_memory_posix.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/shared_memory.h
diff --git a/base/memory/shared_memory.h b/base/memory/shared_memory.h
index 7f19bd71ca10872599e1f407ff523a9d02b0e155..d846ca8d374efe3cd8724568f229579576b66064 100644
--- a/base/memory/shared_memory.h
+++ b/base/memory/shared_memory.h
@@ -98,6 +98,9 @@ class BASE_EXPORT SharedMemory {
// Returns invalid handle (see comment above for exact definition).
static SharedMemoryHandle NULLHandle();
+ // Create and returns a copy of the SharedMemoryHandle passed.
+ static SharedMemoryHandle DuplicateHandle(const SharedMemoryHandle& handle);
+
// Closes a shared memory handle.
static void CloseHandle(const SharedMemoryHandle& handle);
« no previous file with comments | « no previous file | base/memory/shared_memory_nacl.cc » ('j') | base/memory/shared_memory_posix.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698