• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #ifndef CHROME_BROWSER_UI_GTK_CERTIFICATE_DIALOGS_H_
6 #define CHROME_BROWSER_UI_GTK_CERTIFICATE_DIALOGS_H_
7 #pragma once
8 
9 #include "chrome/browser/ui/shell_dialogs.h"
10 #include "net/base/x509_certificate.h"
11 
12 void ShowCertSelectFileDialog(SelectFileDialog* select_file_dialog,
13                               SelectFileDialog::Type type,
14                               const FilePath& suggested_path,
15                               TabContents* tab_contents,
16                               gfx::NativeWindow parent,
17                               void* params);
18 
19 void ShowCertExportDialog(TabContents* tab_contents,
20                           gfx::NativeWindow parent,
21                           net::X509Certificate::OSCertHandle cert);
22 
23 #endif  // CHROME_BROWSER_UI_GTK_CERTIFICATE_DIALOGS_H_
24