OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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/chromium/quic_server_info.h" | 5 #include "net/quic/chromium/quic_server_info.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "base/pickle.h" | 9 #include "base/pickle.h" |
10 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 | 139 |
140 for (size_t i = 0; i < state_.certs.size(); i++) { | 140 for (size_t i = 0; i < state_.certs.size(); i++) { |
141 if (!p.WriteString(state_.certs[i])) { | 141 if (!p.WriteString(state_.certs[i])) { |
142 return string(); | 142 return string(); |
143 } | 143 } |
144 } | 144 } |
145 | 145 |
146 return string(reinterpret_cast<const char*>(p.data()), p.size()); | 146 return string(reinterpret_cast<const char*>(p.data()), p.size()); |
147 } | 147 } |
148 | 148 |
149 QuicServerInfoFactory::~QuicServerInfoFactory() {} | |
150 | |
151 } // namespace net | 149 } // namespace net |
OLD | NEW |