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

Side by Side Diff: components/cronet/android/api/src/org/chromium/net/ExperimentalUrlRequest.java

Issue 2339223002: Cronet API Refactoring (Closed)
Patch Set: Javadoc + rebase Created 4 years, 3 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 unified diff | Download patch
OLDNEW
(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 package org.chromium.net;
5
6 /**
7 * {@link UrlRequest} that exposes experimental feature.
8 * {@hide} since this class exposes experimental features that should be hidden.
9 */
10 public abstract class ExperimentalUrlRequest extends UrlRequest {
11 /**
12 * Builder for building {@link UrlRequest}.
13 * {@hide} since this class exposes experimental features that should be hid den.
14 */
15 public abstract static class Builder extends UrlRequest.Builder {
16 /**
17 * Disables connection migration for the request if enabled for
18 * the session.
19 * @return the builder to facilitate chaining.
20 */
21 public abstract Builder disableConnectionMigration();
22
23 /**
24 * Associates the annotation object with this request. May add more than one.
25 * Passed through to a {@link RequestFinishedInfo.Listener},
26 * see {@link RequestFinishedInfo#getAnnotations}.
27 *
28 * @param annotation an object to pass on to the {@link RequestFinishedI nfo.Listener} with a
29 * {@link RequestFinishedInfo}.
30 * @return the builder to facilitate chaining.
31 */
32 public abstract Builder addRequestAnnotation(Object annotation);
33 }
34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698