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

Side by Side Diff: net/quic/chromium/quic_server_info.cc

Issue 2820573004: Remove the code to store and load QUIC server configs in the disk cache. (Closed)
Patch Set: Fix Created 3 years, 8 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/chromium/quic_server_info.h ('k') | net/quic/chromium/quic_stream_factory.h » ('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 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
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
OLDNEW
« no previous file with comments | « net/quic/chromium/quic_server_info.h ('k') | net/quic/chromium/quic_stream_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698