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

Unified Diff: chrome/browser/io_thread.cc

Issue 798613002: Enable HTTP/2 by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | net/socket/next_proto.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread.cc
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index 7b8e223442bf968df374f5425dd48b7a5275c2c7..094d043fadbde49b79e8441815d93fd4076f0742 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -875,8 +875,8 @@ void IOThread::ConfigureSpdyFromTrial(base::StringPiece spdy_trial_group,
globals->next_protos = net::NextProtosSpdy31();
globals->use_alternate_protocols.set(true);
} else {
- // Use the current SPDY default (SPDY/3.1).
- globals->next_protos = net::NextProtosSpdy31();
+ // By default, enable HTTP/2.
+ globals->next_protos = net::NextProtosSpdy4Http2();
globals->use_alternate_protocols.set(true);
}
}
« no previous file with comments | « no previous file | net/socket/next_proto.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698