OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/quic/core/quic_versions.h" | 5 #include "net/quic/core/quic_versions.h" |
6 | 6 |
7 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
8 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_piece.h" |
9 #include "net/quic/core/quic_error_codes.h" | 9 #include "net/quic/core/quic_error_codes.h" |
10 #include "net/quic/core/quic_flags.h" | 10 #include "net/quic/core/quic_flags.h" |
11 #include "net/quic/core/quic_tag.h" | 11 #include "net/quic/core/quic_tag.h" |
12 #include "net/quic/core/quic_types.h" | 12 #include "net/quic/core/quic_types.h" |
13 | 13 |
14 using base::StringPiece; | 14 using base::StringPiece; |
15 using std::string; | 15 using std::string; |
16 | 16 |
17 namespace net { | 17 namespace net { |
18 | 18 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 for (size_t i = 0; i < versions.size(); ++i) { | 112 for (size_t i = 0; i < versions.size(); ++i) { |
113 if (i != 0) { | 113 if (i != 0) { |
114 result.append(","); | 114 result.append(","); |
115 } | 115 } |
116 result.append(QuicVersionToString(versions[i])); | 116 result.append(QuicVersionToString(versions[i])); |
117 } | 117 } |
118 return result; | 118 return result; |
119 } | 119 } |
120 | 120 |
121 } // namespace net | 121 } // namespace net |
OLD | NEW |