| OLD | NEW |
| 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_CERTIFICATE_DIALOGS_H_ | 5 #ifndef CHROME_BROWSER_UI_CERTIFICATE_DIALOGS_H_ |
| 6 #define CHROME_BROWSER_UI_CERTIFICATE_DIALOGS_H_ | 6 #define CHROME_BROWSER_UI_CERTIFICATE_DIALOGS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/ui/select_file_dialog.h" | 9 #include "chrome/browser/ui/select_file_dialog.h" |
| 10 #include "net/base/x509_certificate.h" | 10 #include "net/base/x509_certificate.h" |
| 11 | 11 |
| 12 void ShowCertSelectFileDialog(SelectFileDialog* select_file_dialog, | 12 void ShowCertSelectFileDialog(SelectFileDialog* select_file_dialog, |
| 13 SelectFileDialog::Type type, | 13 SelectFileDialog::Type type, |
| 14 const FilePath& suggested_path, | 14 const FilePath& suggested_path, |
| 15 content::WebContents* web_contents, |
| 15 gfx::NativeWindow parent, | 16 gfx::NativeWindow parent, |
| 16 void* params); | 17 void* params); |
| 17 | 18 |
| 18 void ShowCertExportDialog(content::WebContents* web_contents, | 19 void ShowCertExportDialog(content::WebContents* web_contents, |
| 19 gfx::NativeWindow parent, | 20 gfx::NativeWindow parent, |
| 20 net::X509Certificate::OSCertHandle cert); | 21 net::X509Certificate::OSCertHandle cert); |
| 21 | 22 |
| 22 #endif // CHROME_BROWSER_UI_CERTIFICATE_DIALOGS_H_ | 23 #endif // CHROME_BROWSER_UI_CERTIFICATE_DIALOGS_H_ |
| OLD | NEW |