Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / ssl / ssl_add_certificate.h
bloba539f0105a5cc2f7194630ed012876318d5c162b
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.
5 #ifndef CHROME_BROWSER_SSL_SSL_ADD_CERTIFICATE_H_
6 #define CHROME_BROWSER_SSL_SSL_ADD_CERTIFICATE_H_
8 #include "base/basictypes.h"
9 #include "net/base/mime_util.h"
11 namespace net {
12 class URLRequest;
13 } // namespace net
15 namespace chrome {
17 // This method is used to add a new certificate file.
19 void 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);
26 } // namespace chrome
28 #endif // CHROME_BROWSER_SSL_SSL_ADD_CERTIFICATE_H_