Chromium Code Reviews| Index: components/cronet/android/api/src/org/chromium/net/ExperimentalUrlRequest.java |
| diff --git a/components/cronet/android/api/src/org/chromium/net/ExperimentalUrlRequest.java b/components/cronet/android/api/src/org/chromium/net/ExperimentalUrlRequest.java |
| index 39c26b70e4a2dd6aff3518115828fee9dc75e373..f012c76dc65d7fd5398b3ad045e57acfbc498928 100644 |
| --- a/components/cronet/android/api/src/org/chromium/net/ExperimentalUrlRequest.java |
| +++ b/components/cronet/android/api/src/org/chromium/net/ExperimentalUrlRequest.java |
| @@ -24,7 +24,9 @@ public abstract class ExperimentalUrlRequest extends UrlRequest { |
| * the session. |
| * @return the builder to facilitate chaining. |
| */ |
| - public abstract Builder disableConnectionMigration(); |
| + public Builder disableConnectionMigration() { |
| + return this; |
| + }; |
|
pauljensen
2016/11/11 15:13:23
remove this semicolon
kapishnikov
2016/11/11 16:55:22
Done.
|
| /** |
| * Associates the annotation object with this request. May add more than one. |
| @@ -35,7 +37,9 @@ public abstract class ExperimentalUrlRequest extends UrlRequest { |
| * {@link RequestFinishedInfo}. |
| * @return the builder to facilitate chaining. |
| */ |
| - public abstract Builder addRequestAnnotation(Object annotation); |
| + public Builder addRequestAnnotation(Object annotation) { |
| + return this; |
| + }; |
|
pauljensen
2016/11/11 15:13:23
ditto
kapishnikov
2016/11/11 16:55:22
Done.
|
| // To support method chaining, override superclass methods to return an |
| // instance of this class instead of the parent. |