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

Side by Side Diff: net/quic/core/quic_versions.cc

Issue 2603723002: Add a new QUIC platform API for text utilities. (Closed)
Patch Set: net/tools/quic/quic_packet_printer_bin.cc Created 3 years, 11 months 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
« no previous file with comments | « net/quic/core/quic_utils_test.cc ('k') | net/quic/core/spdy_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « net/quic/core/quic_utils_test.cc ('k') | net/quic/core/spdy_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698