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

Unified Diff: net/spdy/spdy_websocket_test_util.cc

Issue 710713002: Remove SPDY2 and SPDY/3.0 from tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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: net/spdy/spdy_websocket_test_util.cc
diff --git a/net/spdy/spdy_websocket_test_util.cc b/net/spdy/spdy_websocket_test_util.cc
index b1ef81b281815974159dff70e47f57224410220e..3068bab5845e52388ceb95530bfb394814c1b845 100644
--- a/net/spdy/spdy_websocket_test_util.cc
+++ b/net/spdy/spdy_websocket_test_util.cc
@@ -105,7 +105,7 @@ SpdyMajorVersion SpdyWebSocketTestUtil::spdy_version() const {
std::string SpdyWebSocketTestUtil::GetHeaderKey(
const std::string& key) const {
- return (spdy_util_.is_spdy2() ? "" : ":") + key;
+ return ":" + key;
}
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698