| OLD | NEW |
| 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 "chrome/browser/ui/webui/settings_utils.h" | 5 #include "chrome/browser/ui/webui/settings_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") | |
| 10 #include <shellapi.h> | 9 #include <shellapi.h> |
| 11 | 10 |
| 12 #include "base/bind.h" | 11 #include "base/bind.h" |
| 13 #include "base/bind_helpers.h" | 12 #include "base/bind_helpers.h" |
| 14 #include "base/location.h" | 13 #include "base/location.h" |
| 15 #include "base/macros.h" | 14 #include "base/macros.h" |
| 16 #include "base/message_loop/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
| 17 #include "base/path_service.h" | 16 #include "base/path_service.h" |
| 18 #include "base/threading/thread.h" | 17 #include "base/threading/thread.h" |
| 19 #include "chrome/browser/browser_process.h" | 18 #include "chrome/browser/browser_process.h" |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 HWND parent = | 105 HWND parent = |
| 107 views::HWNDForNativeWindow(web_contents->GetTopLevelNativeWindow()); | 106 views::HWNDForNativeWindow(web_contents->GetTopLevelNativeWindow()); |
| 108 | 107 |
| 109 ManageCertificatesDialog* dialog = new ManageCertificatesDialog; | 108 ManageCertificatesDialog* dialog = new ManageCertificatesDialog; |
| 110 dialog->Show( | 109 dialog->Show( |
| 111 parent, | 110 parent, |
| 112 base::Bind(&base::DeletePointer<ManageCertificatesDialog>, dialog)); | 111 base::Bind(&base::DeletePointer<ManageCertificatesDialog>, dialog)); |
| 113 } | 112 } |
| 114 | 113 |
| 115 } // namespace settings_utils | 114 } // namespace settings_utils |
| OLD | NEW |