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

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

Issue 814543006: Move //mojo/{public, edk} underneath //third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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/system/src/org/chromium/mojo/system/UntypedHandle.java
diff --git a/mojo/public/java/system/src/org/chromium/mojo/system/UntypedHandle.java b/mojo/public/java/system/src/org/chromium/mojo/system/UntypedHandle.java
deleted file mode 100644
index 199b0a1c04ad8e066549eb9fa221b06f0d3f1d17..0000000000000000000000000000000000000000
--- a/mojo/public/java/system/src/org/chromium/mojo/system/UntypedHandle.java
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package org.chromium.mojo.system;
-
-import org.chromium.mojo.system.DataPipe.ConsumerHandle;
-import org.chromium.mojo.system.DataPipe.ProducerHandle;
-
-/**
- * A mojo handle of unknown type. This handle can be typed by using one of its methods, which will
- * return a handle of the requested type and invalidate this object. No validation is made when the
- * conversion operation is called.
- */
-public interface UntypedHandle extends Handle {
-
- /**
- * @see org.chromium.mojo.system.Handle#pass()
- */
- @Override
- public UntypedHandle pass();
-
- /**
- * Returns the underlying handle, as a {@link MessagePipeHandle}, invalidating this
- * representation.
- */
- public MessagePipeHandle toMessagePipeHandle();
-
- /**
- * Returns the underlying handle, as a {@link ConsumerHandle}, invalidating this representation.
- */
- public ConsumerHandle toDataPipeConsumerHandle();
-
- /**
- * Returns the underlying handle, as a {@link ProducerHandle}, invalidating this representation.
- */
- public ProducerHandle toDataPipeProducerHandle();
-
- /**
- * Returns the underlying handle, as a {@link SharedBufferHandle}, invalidating this
- * representation.
- */
- public SharedBufferHandle toSharedBufferHandle();
-
-}
« no previous file with comments | « mojo/public/java/system/src/org/chromium/mojo/system/SharedBufferHandle.java ('k') | mojo/public/js/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698