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

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

Issue 2250183003: Make the fuchsia mojo/public repo the source of truth. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.mojo.system;
6
7 import org.chromium.mojo.system.DataPipe.ConsumerHandle;
8 import org.chromium.mojo.system.DataPipe.ProducerHandle;
9
10 /**
11 * A mojo handle of unknown type. This handle can be typed by using one of its m ethods, which will
12 * return a handle of the requested type and invalidate this object. No validati on is made when the
13 * conversion operation is called.
14 */
15 public interface UntypedHandle extends Handle {
16
17 /**
18 * @see org.chromium.mojo.system.Handle#pass()
19 */
20 @Override
21 public UntypedHandle pass();
22
23 /**
24 * Returns the underlying handle, as a {@link MessagePipeHandle}, invalidati ng this
25 * representation.
26 */
27 public MessagePipeHandle toMessagePipeHandle();
28
29 /**
30 * Returns the underlying handle, as a {@link ConsumerHandle}, invalidating this representation.
31 */
32 public ConsumerHandle toDataPipeConsumerHandle();
33
34 /**
35 * Returns the underlying handle, as a {@link ProducerHandle}, invalidating this representation.
36 */
37 public ProducerHandle toDataPipeProducerHandle();
38
39 /**
40 * Returns the underlying handle, as a {@link SharedBufferHandle}, invalidat ing this
41 * representation.
42 */
43 public SharedBufferHandle toSharedBufferHandle();
44
45 }
OLDNEW
« 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