Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "net/socket/next_proto.h" | |
| 6 | |
| 7 namespace net { | |
| 8 | |
| 9 bool NextProtoIsSPDY(NextProto next_proto) { | |
| 10 return next_proto >= kProtoSPDYMinimumVersion && | |
| 11 next_proto <= kProtoSPDYMaximumVersion; | |
| 12 } | |
| 13 | |
| 14 } // namespace net | |
| OLD | NEW |