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

Unified Diff: mojo/android/system/src/org/chromium/mojo/system/DataPipeConsumerHandleImpl.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/DataPipeConsumerHandleImpl.java
diff --git a/mojo/android/system/src/org/chromium/mojo/system/DataPipeConsumerHandleImpl.java b/mojo/android/system/src/org/chromium/mojo/system/DataPipeConsumerHandleImpl.java
deleted file mode 100644
index ccc85bb3565db10bc39d6d2166810897a60782f2..0000000000000000000000000000000000000000
--- a/mojo/android/system/src/org/chromium/mojo/system/DataPipeConsumerHandleImpl.java
+++ /dev/null
@@ -1,63 +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.ReadFlags;
-
-import java.nio.ByteBuffer;
-
-/**
- * Implementation of {@link ConsumerHandle}.
- */
-class DataPipeConsumerHandleImpl extends HandleBase implements ConsumerHandle {
-
- /**
- * @see HandleBase#HandleBase(CoreImpl, int)
- */
- DataPipeConsumerHandleImpl(CoreImpl core, int mojoHandle) {
- super(core, mojoHandle);
- }
-
- /**
- * @see HandleBase#HandleBase(HandleBase)
- */
- DataPipeConsumerHandleImpl(UntypedHandleImpl other) {
- super(other);
- }
-
- /**
- * @see ConsumerHandle#discardData(int, ReadFlags)
- */
- @Override
- public int discardData(int numBytes, ReadFlags flags) {
- return mCore.discardData(this, numBytes, flags);
- }
-
- /**
- * @see ConsumerHandle#readData(ByteBuffer, ReadFlags)
- */
- @Override
- public int readData(ByteBuffer elements, ReadFlags flags) {
- return mCore.readData(this, elements, flags);
- }
-
- /**
- * @see ConsumerHandle#beginReadData(int, ReadFlags)
- */
- @Override
- public ByteBuffer beginReadData(int numBytes, ReadFlags flags) {
- return mCore.beginReadData(this, numBytes, flags);
- }
-
- /**
- * @see ConsumerHandle#endReadData(int)
- */
- @Override
- public void endReadData(int numBytesRead) {
- mCore.endReadData(this, numBytesRead);
- }
-
-}

Powered by Google App Engine
This is Rietveld 408576698