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

Unified Diff: mojo/public/java/src/org/chromium/mojo/system/SharedBufferHandle.java

Issue 325953006: Add pass operation on handles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix findbugs issue Created 6 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
Index: mojo/public/java/src/org/chromium/mojo/system/SharedBufferHandle.java
diff --git a/mojo/public/java/src/org/chromium/mojo/system/SharedBufferHandle.java b/mojo/public/java/src/org/chromium/mojo/system/SharedBufferHandle.java
index d0a4bb79b605405355ff90ab7982a4339eb6af8d..b2eef0be8d91d7051dcd8ceafe65b7e73c36e392 100644
--- a/mojo/public/java/src/org/chromium/mojo/system/SharedBufferHandle.java
+++ b/mojo/public/java/src/org/chromium/mojo/system/SharedBufferHandle.java
@@ -130,6 +130,12 @@ public interface SharedBufferHandle extends Handle {
}
/**
+ * @see org.chromium.mojo.system.Handle#pass()
+ */
+ @Override
+ public SharedBufferHandle pass();
+
+ /**
* Duplicates the handle. This creates another handle (returned on success), which can then be
* sent to another application over a message pipe, while retaining access to this handle (and
* any mappings that it may have).

Powered by Google App Engine
This is Rietveld 408576698