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

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

Issue 218923002: Merge internal change: 63891842 - QuicServerId changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
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/crypto/quic_server_info.h" 5 #include "net/quic/crypto/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 10
(...skipping 11 matching lines...) Expand all
22 22
23 QuicServerInfo::State::~State() {} 23 QuicServerInfo::State::~State() {}
24 24
25 void QuicServerInfo::State::Clear() { 25 void QuicServerInfo::State::Clear() {
26 server_config.clear(); 26 server_config.clear();
27 source_address_token.clear(); 27 source_address_token.clear();
28 server_config_sig.clear(); 28 server_config_sig.clear();
29 certs.clear(); 29 certs.clear();
30 } 30 }
31 31
32 QuicServerInfo::QuicServerInfo(const QuicSessionKey& server_key) 32 QuicServerInfo::QuicServerInfo(const QuicServerId& server_id)
33 : server_key_(server_key) { 33 : server_id_(server_id) {
34 } 34 }
35 35
36 QuicServerInfo::~QuicServerInfo() { 36 QuicServerInfo::~QuicServerInfo() {
37 } 37 }
38 38
39 const QuicServerInfo::State& QuicServerInfo::state() const { 39 const QuicServerInfo::State& QuicServerInfo::state() const {
40 return state_; 40 return state_;
41 } 41 }
42 42
43 QuicServerInfo::State* QuicServerInfo::mutable_state() { 43 QuicServerInfo::State* QuicServerInfo::mutable_state() {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 return string(); 132 return string();
133 } 133 }
134 } 134 }
135 135
136 return string(reinterpret_cast<const char *>(p.data()), p.size()); 136 return string(reinterpret_cast<const char *>(p.data()), p.size());
137 } 137 }
138 138
139 QuicServerInfoFactory::~QuicServerInfoFactory() {} 139 QuicServerInfoFactory::~QuicServerInfoFactory() {}
140 140
141 } // namespace net 141 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698