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

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

Issue 126283002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed extra space Created 6 years, 11 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
« no previous file with comments | « net/quic/crypto/aes_128_gcm_12_encrypter.h ('k') | net/quic/crypto/curve25519_key_exchange.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 (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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 133
134 return false; 134 return false;
135 } 135 }
136 136
137 static CommonCertSetsQUIC* GetInstance() { 137 static CommonCertSetsQUIC* GetInstance() {
138 return Singleton<CommonCertSetsQUIC>::get(); 138 return Singleton<CommonCertSetsQUIC>::get();
139 } 139 }
140 140
141 private: 141 private:
142 CommonCertSetsQUIC() {} 142 CommonCertSetsQUIC() {}
143 virtual ~CommonCertSetsQUIC() {} 143 virtual ~CommonCertSetsQUIC() OVERRIDE {}
144 144
145 friend struct DefaultSingletonTraits<CommonCertSetsQUIC>; 145 friend struct DefaultSingletonTraits<CommonCertSetsQUIC>;
146 DISALLOW_COPY_AND_ASSIGN(CommonCertSetsQUIC); 146 DISALLOW_COPY_AND_ASSIGN(CommonCertSetsQUIC);
147 }; 147 };
148 148
149 } // anonymous namespace 149 } // anonymous namespace
150 150
151 CommonCertSets::~CommonCertSets() {} 151 CommonCertSets::~CommonCertSets() {}
152 152
153 // static 153 // static
154 const CommonCertSets* CommonCertSets::GetInstanceQUIC() { 154 const CommonCertSets* CommonCertSets::GetInstanceQUIC() {
155 return CommonCertSetsQUIC::GetInstance(); 155 return CommonCertSetsQUIC::GetInstance();
156 } 156 }
157 157
158 } // namespace net 158 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/crypto/aes_128_gcm_12_encrypter.h ('k') | net/quic/crypto/curve25519_key_exchange.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698