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

Unified Diff: components/cronet/android/url_request_adapter.h

Issue 544223003: Add SetSupportsQuic method to explicitly specify server that supports QUIC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added QUIC hints to HttpUrlRequestFactoryConfig. Created 6 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 side-by-side diff with in-line comments
Download patch
Index: components/cronet/android/url_request_adapter.h
diff --git a/components/cronet/android/url_request_adapter.h b/components/cronet/android/url_request_adapter.h
index 6ac62e9a84460d34abe960244d17d41c49f80b86..aad1893e6d1961004ee00828f9dda36d8edefbc9 100644
--- a/components/cronet/android/url_request_adapter.h
+++ b/components/cronet/android/url_request_adapter.h
@@ -109,6 +109,9 @@ class URLRequestAdapter : public net::URLRequest::Delegate {
// Returns a pointer to the downloaded data.
unsigned char* Data() const;
+ // Get NPN or ALPN Negotiated Protocol (if any) from HttpResponseInfo.
+ std::string GetNegotiatedProtocol() const;
mmenke 2014/09/09 14:53:35 We don't return HTTP versions? Should we?
mef 2014/09/10 16:48:18 I don't think so.
+
virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE;
virtual void OnReadCompleted(net::URLRequest* request,

Powered by Google App Engine
This is Rietveld 408576698