We started redesigning GpuMemoryBuffer interface to handle multiple buffers [0].
[chromium-blink-merge.git] / net / base / keygen_handler.cc
blob88013bcb0d133f0e00353d7c5592bcfeee6d2f0c
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.
5 #include "net/base/keygen_handler.h"
7 #if defined(USE_NSS)
8 #include "crypto/nss_crypto_module_delegate.h"
9 #endif // defined(USE_NSS)
11 namespace net {
13 // The constructor and destructor must be defined in a .cc file so that
14 // CryptoModuleBlockingPasswordDelegate can be forward-declared on platforms
15 // which use NSS.
17 KeygenHandler::KeygenHandler(int key_size_in_bits,
18 const std::string& challenge,
19 const GURL& url)
20 : key_size_in_bits_(key_size_in_bits),
21 challenge_(challenge),
22 url_(url),
23 stores_key_(true) {
26 KeygenHandler::~KeygenHandler() {
29 } // namespace net