| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/base/x509_certificate.h" | 5 #include "net/base/x509_certificate.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 namespace net { | 9 namespace net { |
| 10 | 10 |
| 11 // TODO(port): finish implementing. | 11 // TODO(port): finish implementing. |
| 12 // At the moment, all that's here is just enough to prevent a link error. | 12 // At the moment, all that's here is just enough to prevent a link error. |
| 13 | 13 |
| 14 X509Certificate::~X509Certificate() { | 14 X509Certificate::~X509Certificate() { |
| 15 // We might not be in the cache, but it is safe to remove ourselves anyway. | 15 // We might not be in the cache, but it is safe to remove ourselves anyway. |
| 16 X509Certificate::Cache::GetInstance()->Remove(this); | 16 X509Certificate::Cache::GetInstance()->Remove(this); |
| 17 } | 17 } |
| 18 | 18 |
| 19 // static |
| 20 X509Certificate* X509Certificate::CreateFromPickle(const Pickle& pickle, |
| 21 void** pickle_iter) { |
| 22 NOTIMPLEMENTED(); |
| 23 return NULL; |
| 24 } |
| 25 |
| 26 void X509Certificate::Persist(Pickle* pickle) { |
| 27 NOTIMPLEMENTED(); |
| 28 } |
| 19 | 29 |
| 20 } // namespace net | 30 } // namespace net |
| 21 | 31 |
| OLD | NEW |