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 3 // found in the LICENSE file. 4 5 #include "net/base/keygen_handler.h" 6 7 namespace net { 8 9 // The constructor and destructor must be defined in a .cc file so that 10 // CryptoModuleBlockingPasswordDelegate can be forward-declared on platforms 11 // which use NSS. 12 13 KeygenHandler::KeygenHandler(int key_size_in_bits, 14 const std::string& challenge, 15 const GURL& url) 16 : key_size_in_bits_(key_size_in_bits), 17 challenge_(challenge), 18 url_(url), 19 stores_key_(true) { 20 } 21 22 KeygenHandler::~KeygenHandler() { 23 } 24 25 } // namespace net 26