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

Unified Diff: mojo/android/javatests/src/org/chromium/mojo/HandleMock.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
« no previous file with comments | « no previous file | mojo/android/javatests/src/org/chromium/mojo/system/impl/CoreImplTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/android/javatests/src/org/chromium/mojo/HandleMock.java
diff --git a/mojo/android/javatests/src/org/chromium/mojo/HandleMock.java b/mojo/android/javatests/src/org/chromium/mojo/HandleMock.java
index 82b0f45b6d5223df64737a64d45da2922a7b7077..0144dbbee8feb207e7a79b9106acaa43846bfb78 100644
--- a/mojo/android/javatests/src/org/chromium/mojo/HandleMock.java
+++ b/mojo/android/javatests/src/org/chromium/mojo/HandleMock.java
@@ -66,6 +66,14 @@ public class HandleMock implements UntypedHandle, MessagePipeHandle,
}
/**
+ * @see org.chromium.mojo.system.UntypedHandle#pass()
+ */
+ @Override
+ public HandleMock pass() {
+ return this;
+ }
+
+ /**
* @see ConsumerHandle#discardData(int, DataPipe.ReadFlags)
*/
@Override
« no previous file with comments | « no previous file | mojo/android/javatests/src/org/chromium/mojo/system/impl/CoreImplTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698