Home | History | Annotate | Download | only in crypto
      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
      3 // found in the LICENSE file.
      4 
      5 #include "net/quic/crypto/crypto_server_config_protobuf.h"
      6 
      7 #include "base/stl_util.h"
      8 #include "net/quic/quic_time.h"
      9 
     10 namespace net {
     11 
     12 QuicServerConfigProtobuf::QuicServerConfigProtobuf()
     13     : primary_time_(QuicWallTime::Zero().ToUNIXSeconds()),
     14       priority_(0) {
     15 }
     16 
     17 QuicServerConfigProtobuf::~QuicServerConfigProtobuf() {
     18   STLDeleteElements(&keys_);
     19 }
     20 
     21 }  // namespace net
     22