- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / browser / ssl / ssl_add_certificate.h
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
11 namespace net {
12 class URLRequest;
13 }  // namespace net
14
15 namespace chrome {
16
17 // This method is used to add a new certificate file.
18 //
19 void SSLAddCertificate(
20     net::URLRequest* request,
21     net::CertificateMimeType cert_type,
22     const void* cert_data,
23     size_t cert_size,
24     int render_process_id,
25     int render_view_id);
26
27 }  // namespace chrome
28
29 #endif  // CHROME_BROWSER_SSL_SSL_ADD_CERTIFICATE_H_