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

Unified Diff: base/memory/discardable_shared_memory.h

Issue 2852803002: Remove base::SharedMemory::ShareToProcess. (Closed)
Patch Set: Compile error. Created 3 years, 8 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/discardable_shared_memory_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/discardable_shared_memory.h
diff --git a/base/memory/discardable_shared_memory.h b/base/memory/discardable_shared_memory.h
index b391ef1541b0b2ceed1224987d216d9317bc90ba..ba3e16a465573965a4bd465b9e42178414ba8051 100644
--- a/base/memory/discardable_shared_memory.h
+++ b/base/memory/discardable_shared_memory.h
@@ -123,16 +123,6 @@ class BASE_EXPORT DiscardableSharedMemory {
// It is safe to call Close repeatedly.
void Close();
- // Shares the discardable memory segment to another process. Attempts to
- // create a platform-specific |new_handle| which can be used in a remote
- // process to access the discardable memory segment. |new_handle| is an
- // output parameter to receive the handle for use in the remote process.
- // Returns true on success, false otherwise.
- bool ShareToProcess(ProcessHandle process_handle,
- SharedMemoryHandle* new_handle) {
- return shared_memory_.ShareToProcess(process_handle, new_handle);
- }
-
private:
// Virtual for tests.
virtual Time Now() const;
« no previous file with comments | « no previous file | base/memory/discardable_shared_memory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698