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

Unified Diff: third_party/mojo/src/mojo/public/java/system/src/org/chromium/mojo/system/DataPipe.java

Issue 975973002: Update mojo sdk to rev f68e697e389943cd9bf9652397312280e96b127a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: shake fist at msvc Created 5 years, 10 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: 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() {

Powered by Google App Engine
This is Rietveld 408576698