Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 package org.chromium.net; | |
| 6 | |
| 7 /** | |
| 8 * {@link BidirectionalStream} that exposes experimental features. | |
| 9 * Created using {@link ExperimentalBidirectionalStream.Builder}. | |
| 10 * | |
| 11 * {@hide} as it's a prototype | |
| 12 */ | |
| 13 public abstract class ExperimentalBidirectionalStream extends BidirectionalStrea m { | |
| 14 /** | |
| 15 * Builder for {@link ExperimentalBidirectionalStream}s. Allows configuring stream before | |
| 16 * constructing it via {@link Builder#build}. | |
| 17 */ | |
| 18 public abstract static class Builder extends BidirectionalStream.Builder { | |
| 19 /** | |
| 20 * Associates the annotation object with this request. May add more than one. | |
| 21 * Passed through to a {@link RequestFinishedInfo.Listener}, | |
| 22 * see {@link RequestFinishedInfo#getAnnotations}. | |
| 23 * | |
| 24 * @param annotation an object to pass on to the {@link RequestFinishedI nfo.Listener} with a | |
| 25 * {@link RequestFinishedInfo}. | |
| 26 * @return the builder to facilitate chaining. | |
| 27 */ | |
| 28 public abstract Builder addRequestAnnotation(Object annotation); | |
| 29 } | |
|
pauljensen
2016/09/26 14:51:21
So I've an idea:
We were wondering how to deal wit
kapishnikov
2016/09/27 18:38:25
Done. Same for ExperimentalCronetEngine & Experime
| |
| 30 } | |
| OLD | NEW |