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_SSL_SSL_ADD_CERTIFICATE_H_
6#define CHROME_BROWSER_SSL_SSL_ADD_CERTIFICATE_H_
7
8#include "base/basictypes.h"
9#include "net/base/mime_util.h"
10
11namespace net {
12class URLRequest;
13}  // namespace net
14
15namespace chrome {
16
17// This method is used to add a new certificate file.
18//
19void SSLAddCertificate(
20    net::CertificateMimeType cert_type,
21    const void* cert_data,
22    size_t cert_size,
23    int render_process_id,
24    int render_view_id);
25
26}  // namespace chrome
27
28#endif  // CHROME_BROWSER_SSL_SSL_ADD_CERTIFICATE_H_
29