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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: mojo/public/java/bindings/src/org/chromium/mojo/bindings/HandleOwner.java
diff --git a/mojo/public/java/bindings/src/org/chromium/mojo/bindings/HandleOwner.java b/mojo/public/java/bindings/src/org/chromium/mojo/bindings/HandleOwner.java
deleted file mode 100644
index 60fc33ba4ef60f768adf8f37b496b0ec25b5714b..0000000000000000000000000000000000000000
--- a/mojo/public/java/bindings/src/org/chromium/mojo/bindings/HandleOwner.java
+++ /dev/null
@@ -1,29 +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.bindings;
-
-import org.chromium.mojo.system.Handle;
-
-import java.io.Closeable;
-
-/**
- * Describes a class that owns a handle.
- *
- * @param <H> The type of the owned handle.
- */
-public interface HandleOwner<H extends Handle> extends Closeable {
-
- /**
- * Pass the handle owned by this class.
- */
- public H passHandle();
-
- /**
- * @see java.io.Closeable#close()
- */
- @Override
- public void close();
-
-}

Powered by Google App Engine
This is Rietveld 408576698