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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "net/spdy/spdy_websocket_test_util.h" 5 #include "net/spdy/spdy_websocket_test_util.h"
6 6
7 #include "net/spdy/buffered_spdy_framer.h" 7 #include "net/spdy/buffered_spdy_framer.h"
8 #include "net/spdy/spdy_http_utils.h" 8 #include "net/spdy/spdy_http_utils.h"
9 9
10 namespace net { 10 namespace net {
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdySettingsAck() const { 98 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdySettingsAck() const {
99 return spdy_util_.ConstructSpdySettingsAck(); 99 return spdy_util_.ConstructSpdySettingsAck();
100 } 100 }
101 101
102 SpdyMajorVersion SpdyWebSocketTestUtil::spdy_version() const { 102 SpdyMajorVersion SpdyWebSocketTestUtil::spdy_version() const {
103 return spdy_util_.spdy_version(); 103 return spdy_util_.spdy_version();
104 } 104 }
105 105
106 std::string SpdyWebSocketTestUtil::GetHeaderKey( 106 std::string SpdyWebSocketTestUtil::GetHeaderKey(
107 const std::string& key) const { 107 const std::string& key) const {
108 return (spdy_util_.is_spdy2() ? "" : ":") + key; 108 return ":" + key;
109 } 109 }
110 110
111 } // namespace net 111 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698