| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_SSL_SSL_ADD_CERTIFICATE_H_ | 5 #ifndef CHROME_BROWSER_SSL_SSL_ADD_CERTIFICATE_H_ |
| 6 #define CHROME_BROWSER_SSL_SSL_ADD_CERTIFICATE_H_ | 6 #define CHROME_BROWSER_SSL_SSL_ADD_CERTIFICATE_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include <stddef.h> |
| 9 |
| 9 #include "net/base/mime_util.h" | 10 #include "net/base/mime_util.h" |
| 10 | 11 |
| 11 namespace net { | 12 namespace net { |
| 12 class URLRequest; | 13 class URLRequest; |
| 13 } // namespace net | 14 } // namespace net |
| 14 | 15 |
| 15 namespace chrome { | 16 namespace chrome { |
| 16 | 17 |
| 17 // This method is used to add a new certificate file. | 18 // This method is used to add a new certificate file. |
| 18 // | 19 // |
| 19 void SSLAddCertificate( | 20 void SSLAddCertificate( |
| 20 net::CertificateMimeType cert_type, | 21 net::CertificateMimeType cert_type, |
| 21 const void* cert_data, | 22 const void* cert_data, |
| 22 size_t cert_size, | 23 size_t cert_size, |
| 23 int render_process_id, | 24 int render_process_id, |
| 24 int render_view_id); | 25 int render_view_id); |
| 25 | 26 |
| 26 } // namespace chrome | 27 } // namespace chrome |
| 27 | 28 |
| 28 #endif // CHROME_BROWSER_SSL_SSL_ADD_CERTIFICATE_H_ | 29 #endif // CHROME_BROWSER_SSL_SSL_ADD_CERTIFICATE_H_ |
| OLD | NEW |