OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/crypto_server_config_protobuf.h" | 5 #include "net/quic/crypto/crypto_server_config_protobuf.h" |
6 | 6 |
7 #include "base/stl_util.h" | 7 #include "base/stl_util.h" |
8 #include "net/quic/quic_time.h" | 8 #include "net/quic/quic_time.h" |
9 | 9 |
10 namespace net { | 10 namespace net { |
11 | 11 |
12 QuicServerConfigProtobuf::QuicServerConfigProtobuf() | 12 QuicServerConfigProtobuf::QuicServerConfigProtobuf() |
13 : primary_time_(QuicWallTime::Zero().ToUNIXSeconds()), | 13 : primary_time_(QuicWallTime::Zero().ToUNIXSeconds()), priority_(0) { |
14 priority_(0) { | |
15 } | 14 } |
16 | 15 |
17 QuicServerConfigProtobuf::~QuicServerConfigProtobuf() { | 16 QuicServerConfigProtobuf::~QuicServerConfigProtobuf() { |
18 STLDeleteElements(&keys_); | 17 STLDeleteElements(&keys_); |
19 } | 18 } |
20 | 19 |
21 } // namespace net | 20 } // namespace net |
OLD | NEW |