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

Unified Diff: mojo/android/system/src/org/chromium/mojo/system/UntypedHandleImpl.java

Issue 294043016: Refactor java packages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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/android/system/src/org/chromium/mojo/system/UntypedHandleImpl.java
diff --git a/mojo/android/system/src/org/chromium/mojo/system/UntypedHandleImpl.java b/mojo/android/system/src/org/chromium/mojo/system/UntypedHandleImpl.java
deleted file mode 100644
index 31ad8be0271c4a58ac24a9ccbf9d0d221c18a494..0000000000000000000000000000000000000000
--- a/mojo/android/system/src/org/chromium/mojo/system/UntypedHandleImpl.java
+++ /dev/null
@@ -1,61 +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;
-
-/**
- * Implementation of {@link UntypedHandle}.
- */
-class UntypedHandleImpl extends HandleBase implements UntypedHandle {
-
- /**
- * @see HandleBase#HandleBase(CoreImpl, int)
- */
- UntypedHandleImpl(CoreImpl core, int mojoHandle) {
- super(core, mojoHandle);
- }
-
- /**
- * @see HandleBase#HandleBase(HandleBase)
- */
- UntypedHandleImpl(HandleBase handle) {
- super(handle);
- }
-
- /**
- * @see org.chromium.mojo.system.UntypedHandle#toMessagePipeHandle()
- */
- @Override
- public MessagePipeHandle toMessagePipeHandle() {
- return new MessagePipeHandleImpl(this);
- }
-
- /**
- * @see org.chromium.mojo.system.UntypedHandle#toDataPipeConsumerHandle()
- */
- @Override
- public ConsumerHandle toDataPipeConsumerHandle() {
- return new DataPipeConsumerHandleImpl(this);
- }
-
- /**
- * @see org.chromium.mojo.system.UntypedHandle#toDataPipeProducerHandle()
- */
- @Override
- public ProducerHandle toDataPipeProducerHandle() {
- return new DataPipeProducerHandleImpl(this);
- }
-
- /**
- * @see org.chromium.mojo.system.UntypedHandle#toSharedBufferHandle()
- */
- @Override
- public SharedBufferHandle toSharedBufferHandle() {
- return new SharedBufferHandleImpl(this);
- }
-
-}

Powered by Google App Engine
This is Rietveld 408576698