diff options
author | dkegel@google.com <dkegel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-22 19:50:58 +0000 |
---|---|---|
committer | dkegel@google.com <dkegel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-22 19:50:58 +0000 |
commit | b43c97c9b09d545890942909d1a0a4102847430b (patch) | |
tree | 11bdec99230d9ed84f1432d8b99cd9b087bec827 /net/base/x509_certificate_nss.cc | |
parent | 3d13c830adf25a9884e5f1e5c0ee4ceae0d40d66 (diff) | |
download | chromium_src-b43c97c9b09d545890942909d1a0a4102847430b.zip chromium_src-b43c97c9b09d545890942909d1a0a4102847430b.tar.gz chromium_src-b43c97c9b09d545890942909d1a0a4102847430b.tar.bz2 |
Port SSLClientSocket to Linux
Passes tests (once you enable them by removing DISABLED_).
Probably want to add a mock https server so we can leave those tests enabled when we check in.
Had to add full duplex support to TCPClientSocket on Linux
to avoid kludgy plumbing issues.
Also had to add dummy implementation of
X509Certificate::~X509Certificate to prevent link error.
Rediffed to current trunk, addressed all review issues.
Review URL: http://codereview.chromium.org/4049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3751 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/x509_certificate_nss.cc')
-rw-r--r-- | net/base/x509_certificate_nss.cc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net/base/x509_certificate_nss.cc b/net/base/x509_certificate_nss.cc new file mode 100644 index 0000000..3906ae1 --- /dev/null +++ b/net/base/x509_certificate_nss.cc @@ -0,0 +1,21 @@ +// Copyright (c) 2006-2008 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/x509_certificate.h" + +#include "base/logging.h" + +namespace net { + +// TODO(port): finish implementing. +// At the moment, all that's here is just enough to prevent a link error. + +X509Certificate::~X509Certificate() { + // We might not be in the cache, but it is safe to remove ourselves anyway. + X509Certificate::Cache::GetInstance()->Remove(this); +} + + +} // namespace net + |