| Index: mojo/public/java/system/src/org/chromium/mojo/system/DataPipe.java
|
| diff --git a/mojo/public/java/system/src/org/chromium/mojo/system/DataPipe.java b/mojo/public/java/system/src/org/chromium/mojo/system/DataPipe.java
|
| index a5b77ae9ecb4b0687c8e3d8bde7595b74ed91e8b..4cd74e15685acc9835da711fcec46aeb081057e3 100644
|
| --- a/mojo/public/java/system/src/org/chromium/mojo/system/DataPipe.java
|
| +++ b/mojo/public/java/system/src/org/chromium/mojo/system/DataPipe.java
|
| @@ -161,7 +161,6 @@
|
| private static final int FLAG_NONE = 0;
|
| private static final int FLAG_ALL_OR_NONE = 1 << 0;
|
| private static final int FLAG_QUERY = 1 << 2;
|
| - private static final int FLAG_PEEK = 1 << 3;
|
|
|
| /**
|
| * Immutable flag with not bit set.
|
| @@ -190,25 +189,13 @@
|
|
|
| /**
|
| * Change the query bit of this flag. If set query the number of elements available to read.
|
| - * Mutually exclusive with |discard| and |allOrNone| is ignored if this flag is set.
|
| + * Mutually exclusive with |dicard| and |allOrNone| is ignored if this flag is set.
|
| *
|
| * @param query the new value of the query bit.
|
| * @return this.
|
| */
|
| public ReadFlags query(boolean query) {
|
| return setFlag(FLAG_QUERY, query);
|
| - }
|
| -
|
| - /**
|
| - * Change the peek bit of this flag. If set, read the requested number of elements, and
|
| - * leave those elements in the pipe. A later read will return the same data.
|
| - * Mutually exclusive with |discard| and |query|.
|
| - *
|
| - * @param peek the new value of the peek bit.
|
| - * @return this.
|
| - */
|
| - public ReadFlags peek(boolean peek) {
|
| - return setFlag(FLAG_PEEK, peek);
|
| }
|
|
|
| /**
|
|
|