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

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

Issue 754433003: Update from https://crrev.com/305340 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
OLDNEW
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/common_cert_set.h" 5 #include "net/quic/crypto/common_cert_set.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/singleton.h" 9 #include "base/memory/singleton.h"
10 #include "net/quic/quic_utils.h" 10 #include "net/quic/quic_utils.h"
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 return false; 147 return false;
148 } 148 }
149 149
150 static CommonCertSetsQUIC* GetInstance() { 150 static CommonCertSetsQUIC* GetInstance() {
151 return Singleton<CommonCertSetsQUIC>::get(); 151 return Singleton<CommonCertSetsQUIC>::get();
152 } 152 }
153 153
154 private: 154 private:
155 CommonCertSetsQUIC() {} 155 CommonCertSetsQUIC() {}
156 virtual ~CommonCertSetsQUIC() {} 156 ~CommonCertSetsQUIC() override {}
157 157
158 friend struct DefaultSingletonTraits<CommonCertSetsQUIC>; 158 friend struct DefaultSingletonTraits<CommonCertSetsQUIC>;
159 DISALLOW_COPY_AND_ASSIGN(CommonCertSetsQUIC); 159 DISALLOW_COPY_AND_ASSIGN(CommonCertSetsQUIC);
160 }; 160 };
161 161
162 } // anonymous namespace 162 } // anonymous namespace
163 163
164 CommonCertSets::~CommonCertSets() {} 164 CommonCertSets::~CommonCertSets() {}
165 165
166 // static 166 // static
167 const CommonCertSets* CommonCertSets::GetInstanceQUIC() { 167 const CommonCertSets* CommonCertSets::GetInstanceQUIC() {
168 return CommonCertSetsQUIC::GetInstance(); 168 return CommonCertSetsQUIC::GetInstance();
169 } 169 }
170 170
171 } // namespace net 171 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/congestion_control/time_loss_algorithm_test.cc ('k') | net/quic/crypto/crypto_handshake_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698