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

Side by Side Diff: net/cert/test_root_certs_win.cc

Issue 686883002: Add crypto/wincrypt_shim.h wrapper header to resolve BoringSSL conflicts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sleevi comments 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
« no previous file with comments | « net/cert/test_root_certs.h ('k') | net/cert/x509_cert_types_win.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/cert/test_root_certs.h" 5 #include "net/cert/test_root_certs.h"
6 6
7 #include <windows.h>
8 #include <wincrypt.h>
9
10 #include "base/basictypes.h" 7 #include "base/basictypes.h"
11 #include "base/lazy_instance.h" 8 #include "base/lazy_instance.h"
12 #include "base/logging.h" 9 #include "base/logging.h"
13 #include "base/win/win_util.h" 10 #include "base/win/win_util.h"
14 #include "base/win/windows_version.h" 11 #include "base/win/windows_version.h"
15 #include "net/cert/x509_certificate.h" 12 #include "net/cert/x509_certificate.h"
16 13
17 namespace net { 14 namespace net {
18 15
19 namespace { 16 namespace {
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 203
207 void TestRootCerts::Init() { 204 void TestRootCerts::Init() {
208 empty_ = true; 205 empty_ = true;
209 temporary_roots_ = CertOpenStore( 206 temporary_roots_ = CertOpenStore(
210 CERT_STORE_PROV_MEMORY, 0, NULL, 207 CERT_STORE_PROV_MEMORY, 0, NULL,
211 CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG, NULL); 208 CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG, NULL);
212 DCHECK(temporary_roots_); 209 DCHECK(temporary_roots_);
213 } 210 }
214 211
215 } // namespace net 212 } // namespace net
OLDNEW
« no previous file with comments | « net/cert/test_root_certs.h ('k') | net/cert/x509_cert_types_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698