| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 NET_BASE_KEYGEN_HANDLER_H_ | 5 #ifndef NET_BASE_KEYGEN_HANDLER_H_ |
| 6 #define NET_BASE_KEYGEN_HANDLER_H_ | 6 #define NET_BASE_KEYGEN_HANDLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 12 #include "googleurl/src/gurl.h" | |
| 13 #include "net/base/net_export.h" | 12 #include "net/base/net_export.h" |
| 13 #include "url/gurl.h" |
| 14 | 14 |
| 15 #if defined(USE_NSS) | 15 #if defined(USE_NSS) |
| 16 #include "crypto/crypto_module_blocking_password_delegate.h" | 16 #include "crypto/crypto_module_blocking_password_delegate.h" |
| 17 #endif // defined(USE_NSS) | 17 #endif // defined(USE_NSS) |
| 18 | 18 |
| 19 namespace net { | 19 namespace net { |
| 20 | 20 |
| 21 // This class handles keypair generation for generating client | 21 // This class handles keypair generation for generating client |
| 22 // certificates via the <keygen> tag. | 22 // certificates via the <keygen> tag. |
| 23 // <http://dev.w3.org/html5/spec/Overview.html#the-keygen-element> | 23 // <http://dev.w3.org/html5/spec/Overview.html#the-keygen-element> |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 #if defined(USE_NSS) | 57 #if defined(USE_NSS) |
| 58 // The callback for requesting a password to the PKCS#11 token. | 58 // The callback for requesting a password to the PKCS#11 token. |
| 59 scoped_ptr<crypto::CryptoModuleBlockingPasswordDelegate> | 59 scoped_ptr<crypto::CryptoModuleBlockingPasswordDelegate> |
| 60 crypto_module_password_delegate_; | 60 crypto_module_password_delegate_; |
| 61 #endif // defined(USE_NSS) | 61 #endif // defined(USE_NSS) |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace net | 64 } // namespace net |
| 65 | 65 |
| 66 #endif // NET_BASE_KEYGEN_HANDLER_H_ | 66 #endif // NET_BASE_KEYGEN_HANDLER_H_ |
| OLD | NEW |