certificate_dialogs.h revision ddb351dbec246cf1fab5ec20d2d5520909041de1
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
12void 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
19void ShowCertExportDialog(TabContents* tab_contents,
20                          gfx::NativeWindow parent,
21                          net::X509Certificate::OSCertHandle cert);
22
23#endif  // CHROME_BROWSER_UI_GTK_CERTIFICATE_DIALOGS_H_
24