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

Side by Side Diff: chrome/browser/ui/cryptuiapi_shim.h

Issue 2913253003: Convert Windows to use X509CertificateBytes. (Closed)
Patch Set: rebase Created 3 years, 6 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
OLDNEW
(Empty)
1 // Copyright 2017 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 #ifndef CHROME_BROWSER_UI_CRYPTUIAPI_SHIM_H_
6 #define CHROME_BROWSER_UI_CRYPTUIAPI_SHIM_H_
7
8 // cryptuiapi.h includes wincrypt.h which defines macros which conflict with
9 // OpenSSL's types. This header includes cryptuiapi.h and then wincrypt_shim.h
10 // which undefines the OpenSSL macros which conflict. Any Chromium headers
11 // which include cryptuiapi should instead include this header.
davidben 2017/06/15 23:55:18 Blegh. I wonder how crazy it'd be to add a #define
12
13 #include <windows.h>
14 #include <cryptuiapi.h>
15
16 #include "crypto/wincrypt_shim.h"
17
18 #endif // CHROME_BROWSER_UI_CRYPTUIAPI_SHIM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698