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

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

Issue 937513003: Add Data Saver support to Cronet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nit Created 5 years, 7 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.net; 5 package org.chromium.net;
6 6
7 import android.util.Pair; 7 import android.util.Pair;
8 8
9 import java.util.List; 9 import java.util.List;
10 import java.util.Map; 10 import java.util.Map;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 boolean wasCached(); 61 boolean wasCached();
62 62
63 /** 63 /**
64 * @return protocol (e.g. "quic/1+spdy/3") negotiated with server. Returns 64 * @return protocol (e.g. "quic/1+spdy/3") negotiated with server. Returns
65 * empty string if no protocol was negotiated, or the protocol is not known. 65 * empty string if no protocol was negotiated, or the protocol is not known.
66 * Returns empty when using plain http or https. 66 * Returns empty when using plain http or https.
67 * TODO(mef): Figure out what this returns in the cached case, both with 67 * TODO(mef): Figure out what this returns in the cached case, both with
68 * and without a revalidation request. 68 * and without a revalidation request.
69 */ 69 */
70 String getNegotiatedProtocol(); 70 String getNegotiatedProtocol();
71
72 /**
73 * @return the proxy server that was used for the request.
74 */
75 String getProxyServer();
71 }; 76 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698