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

Unified Diff: components/cronet/android/url_request_context_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: Address review comments. 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_context_adapter.h
diff --git a/components/cronet/android/url_request_context_adapter.h b/components/cronet/android/url_request_context_adapter.h
index ef4fcd6deacd86b3671662c37384882a70d8b6e2..9f577e7fcc4e740e8e162612a38b0f692fae18e7 100644
--- a/components/cronet/android/url_request_context_adapter.h
+++ b/components/cronet/android/url_request_context_adapter.h
@@ -66,6 +66,10 @@ class URLRequestContextAdapter : public net::URLRequestContextGetter {
void StartNetLogToFile(const std::string& file_name);
void StopNetLog();
+ void SetQuicHint(const net::HostPortPair& server,
Ryan Hamilton 2014/09/10 20:58:19 Please add a comment for this method.
mef 2014/09/12 19:44:33 Acknowledged. Per discussion with mmenke@ I'm goin
+ uint16 alternate_port,
+ double probability);
+
private:
scoped_refptr<URLRequestContextAdapterDelegate> delegate_;
scoped_ptr<net::URLRequestContext> context_;
@@ -77,7 +81,7 @@ class URLRequestContextAdapter : public net::URLRequestContextGetter {
virtual ~URLRequestContextAdapter();
- // Initializes |context_| on the IO thread.
+ // Initializes |context_| on the Network thread.
void InitializeURLRequestContext(scoped_ptr<URLRequestContextConfig> config);
DISALLOW_COPY_AND_ASSIGN(URLRequestContextAdapter);

Powered by Google App Engine
This is Rietveld 408576698