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

Unified Diff: mojo/android/system/src/org/chromium/mojo/system/DataPipeProducerHandleImpl.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/DataPipeProducerHandleImpl.java
diff --git a/mojo/android/system/src/org/chromium/mojo/system/DataPipeProducerHandleImpl.java b/mojo/android/system/src/org/chromium/mojo/system/DataPipeProducerHandleImpl.java
deleted file mode 100644
index 5e4081b3a90dd1d47e6894cd1426db7e2e47652f..0000000000000000000000000000000000000000
--- a/mojo/android/system/src/org/chromium/mojo/system/DataPipeProducerHandleImpl.java
+++ /dev/null
@@ -1,55 +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.ProducerHandle;
-import org.chromium.mojo.system.DataPipe.WriteFlags;
-
-import java.nio.ByteBuffer;
-
-/**
- * Implementation of {@link ProducerHandle}.
- */
-class DataPipeProducerHandleImpl extends HandleBase implements ProducerHandle {
-
- /**
- * @see HandleBase#HandleBase(CoreImpl, int)
- */
- DataPipeProducerHandleImpl(CoreImpl core, int mojoHandle) {
- super(core, mojoHandle);
- }
-
- /**
- * @see HandleBase#HandleBase(HandleBase)
- */
- DataPipeProducerHandleImpl(UntypedHandleImpl handle) {
- super(handle);
- }
-
- /**
- * @see DataPipe.ProducerHandle#writeData(ByteBuffer, WriteFlags)
- */
- @Override
- public int writeData(ByteBuffer elements, WriteFlags flags) {
- return mCore.writeData(this, elements, flags);
- }
-
- /**
- * @see DataPipe.ProducerHandle#beginWriteData(int, WriteFlags)
- */
- @Override
- public ByteBuffer beginWriteData(int numBytes, WriteFlags flags) {
- return mCore.beginWriteData(this, numBytes, flags);
- }
-
- /**
- * @see DataPipe.ProducerHandle#endWriteData(int)
- */
- @Override
- public void endWriteData(int numBytesWritten) {
- mCore.endWriteData(this, numBytesWritten);
- }
-
-}

Powered by Google App Engine
This is Rietveld 408576698