OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/dom_ui/options/advanced_options_utils.h" | 5 #include "chrome/browser/dom_ui/options/advanced_options_utils.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 #include <cryptuiapi.h> | 8 #include <cryptuiapi.h> |
9 #pragma comment(lib, "cryptui.lib") | 9 #pragma comment(lib, "cryptui.lib") |
10 #include <shellapi.h> | 10 #include <shellapi.h> |
11 | 11 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 } | 58 } |
59 | 59 |
60 void AdvancedOptionsUtilities::ShowManageSSLCertificates( | 60 void AdvancedOptionsUtilities::ShowManageSSLCertificates( |
61 TabContents* tab_contents) { | 61 TabContents* tab_contents) { |
62 CRYPTUI_CERT_MGR_STRUCT cert_mgr = { 0 }; | 62 CRYPTUI_CERT_MGR_STRUCT cert_mgr = { 0 }; |
63 cert_mgr.dwSize = sizeof(CRYPTUI_CERT_MGR_STRUCT); | 63 cert_mgr.dwSize = sizeof(CRYPTUI_CERT_MGR_STRUCT); |
64 cert_mgr.hwndParent = | 64 cert_mgr.hwndParent = |
65 tab_contents->view()->GetTopLevelNativeWindow(); | 65 tab_contents->view()->GetTopLevelNativeWindow(); |
66 ::CryptUIDlgCertMgr(&cert_mgr); | 66 ::CryptUIDlgCertMgr(&cert_mgr); |
67 } | 67 } |
OLD | NEW |