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