Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Unified Diff: net/base/keygen_handler.cc

Issue 3186021: DONOTLAND: Start of PK11 password dialog for Linux/NSS (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Start of hooking up the hang monitor, probably requires WebKit changes Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/keygen_handler.h ('k') | net/base/keygen_handler_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/keygen_handler.cc
diff --git a/net/base/keygen_handler.cc b/net/base/keygen_handler.cc
new file mode 100644
index 0000000000000000000000000000000000000000..41865a243122cdd189dd908528c5170eabd0aa24
--- /dev/null
+++ b/net/base/keygen_handler.cc
@@ -0,0 +1,28 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "net/base/keygen_handler.h"
+
+#if defined(USE_NSS)
+#include "base/nss_util_internal.h"
+#endif // defined(USE_NSS)
+
+namespace net {
+
+// The constructor and destructor must be defined in a .cc file so that
+// PK11PasswordCallback can be forward-declared on platforms which use NSS.
+
+KeygenHandler::KeygenHandler(int key_size_in_bits,
+ const std::string& challenge,
+ const GURL& url)
+ : key_size_in_bits_(key_size_in_bits),
+ challenge_(challenge),
+ url_(url),
+ stores_key_(true) {
+}
+
+KeygenHandler::~KeygenHandler() {
+}
+
+} // namespace net
« no previous file with comments | « net/base/keygen_handler.h ('k') | net/base/keygen_handler_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698