| Index: net/http/http_server_properties.cc
|
| diff --git a/net/http/http_server_properties.cc b/net/http/http_server_properties.cc
|
| index af972dfa194b24282fe84155b527f10e5bb97a23..a10d5060c063dd67feac701138a023e0f501e772 100644
|
| --- a/net/http/http_server_properties.cc
|
| +++ b/net/http/http_server_properties.cc
|
| @@ -38,7 +38,7 @@ bool IsAlternateProtocolValid(AlternateProtocol protocol) {
|
|
|
| const char* AlternateProtocolToString(AlternateProtocol protocol) {
|
| switch (protocol) {
|
| - case NPN_SPDY_2:
|
| + case DEPRECATED_NPN_SPDY_2:
|
| case NPN_SPDY_3:
|
| case NPN_SPDY_3_1:
|
| case NPN_SPDY_4A2:
|
| @@ -70,8 +70,8 @@ AlternateProtocol AlternateProtocolFromString(const std::string& str) {
|
|
|
| AlternateProtocol AlternateProtocolFromNextProto(NextProto next_proto) {
|
| switch (next_proto) {
|
| - case kProtoSPDY2:
|
| - return NPN_SPDY_2;
|
| + case kProtoDeprecatedSPDY2:
|
| + return DEPRECATED_NPN_SPDY_2;
|
| case kProtoSPDY3:
|
| return NPN_SPDY_3;
|
| case kProtoSPDY31:
|
|
|