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

Side by Side Diff: mojo/public/java/bindings/src/org/chromium/mojo/bindings/HandleOwner.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.bindings;
6
7 import org.chromium.mojo.system.Handle;
8
9 import java.io.Closeable;
10
11 /**
12 * Describes a class that owns a handle.
13 *
14 * @param <H> The type of the owned handle.
15 */
16 public interface HandleOwner<H extends Handle> extends Closeable {
17
18 /**
19 * Pass the handle owned by this class.
20 */
21 public H passHandle();
22
23 /**
24 * @see java.io.Closeable#close()
25 */
26 @Override
27 public void close();
28
29 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698