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 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_UI_CERTIFICATE_DIALOGS_H_ 6 #define CHROME_BROWSER_UI_CERTIFICATE_DIALOGS_H_ 7 8 #include "net/cert/x509_certificate.h" 9 #include "ui/shell_dialogs/select_file_dialog.h" 10 11 namespace content { 12 class WebContents; 13 } 14 15 void ShowCertSelectFileDialog(ui::SelectFileDialog* select_file_dialog, 16 ui::SelectFileDialog::Type type, 17 const base::FilePath& suggested_path, 18 gfx::NativeWindow parent, 19 void* params); 20 21 void ShowCertExportDialog(content::WebContents* web_contents, 22 gfx::NativeWindow parent, 23 net::X509Certificate::OSCertHandle cert); 24 25 #endif // CHROME_BROWSER_UI_CERTIFICATE_DIALOGS_H_ 26