| Index: third_party/mojo/src/mojo/public/java/system/src/org/chromium/mojo/system/DataPipe.java
|
| diff --git a/third_party/mojo/src/mojo/public/java/system/src/org/chromium/mojo/system/DataPipe.java b/third_party/mojo/src/mojo/public/java/system/src/org/chromium/mojo/system/DataPipe.java
|
| index a5b77ae9ecb4b0687c8e3d8bde7595b74ed91e8b..a6683fdde7677877bcb1c5b17d9a7b01d630f1c2 100644
|
| --- a/third_party/mojo/src/mojo/public/java/system/src/org/chromium/mojo/system/DataPipe.java
|
| +++ b/third_party/mojo/src/mojo/public/java/system/src/org/chromium/mojo/system/DataPipe.java
|
| @@ -18,7 +18,6 @@ public interface DataPipe {
|
| */
|
| public static class CreateFlags extends Flags<CreateFlags> {
|
| private static final int FLAG_NONE = 0;
|
| - private static final int FLAG_MAY_DISCARD = 1 << 0;
|
|
|
| /**
|
| * Immutable flag with not bit set.
|
| @@ -35,18 +34,6 @@ public interface DataPipe {
|
| }
|
|
|
| /**
|
| - * Change the may-discard bit of this flag. This indicates that the data pipe may discard
|
| - * data for whatever reason; best-effort delivery. In particular, if the capacity is
|
| - * reached, old data may be discard to make room for new data.
|
| - *
|
| - * @param mayDiscard the new value of the may-discard bit.
|
| - * @return this.
|
| - */
|
| - public CreateFlags setMayDiscard(boolean mayDiscard) {
|
| - return setFlag(FLAG_MAY_DISCARD, mayDiscard);
|
| - }
|
| -
|
| - /**
|
| * @return flags with no bit set.
|
| */
|
| public static CreateFlags none() {
|
|
|