Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2010 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 #include "net/base/keygen_handler.h" | |
| 6 | |
| 7 #if defined(USE_NSS) | |
| 8 #include "base/crypto/pk11_blocking_password_delegate.h" | |
| 9 #endif // defined(USE_NSS) | |
|
wtc
2010/12/15 20:54:36
Nit: I usully omit this kind of #endif comment for
mattm
2011/01/12 01:22:07
Done.
| |
| 10 | |
| 11 namespace net { | |
| 12 | |
| 13 // The constructor and destructor must be defined in a .cc file so that | |
| 14 // PK11PasswordCallback can be forward-declared on platforms which use NSS. | |
|
wtc
2010/12/15 20:54:36
Typo: PK11PasswordCallback => PK11BlockingPassword
mattm
2011/01/12 01:22:07
Done.
| |
| 15 | |
| 16 KeygenHandler::KeygenHandler(int key_size_in_bits, | |
| 17 const std::string& challenge, | |
| 18 const GURL& url) | |
| 19 : key_size_in_bits_(key_size_in_bits), | |
| 20 challenge_(challenge), | |
| 21 url_(url), | |
| 22 stores_key_(true) { | |
| 23 } | |
| 24 | |
| 25 KeygenHandler::~KeygenHandler() { | |
| 26 } | |
| 27 | |
| 28 } // namespace net | |
| OLD | NEW |