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

Unified Diff: net/base/server_bound_cert_store.cc

Issue 12680003: net: split net/ssl out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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/server_bound_cert_store.h ('k') | net/base/ssl_cert_request_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/server_bound_cert_store.cc
diff --git a/net/base/server_bound_cert_store.cc b/net/base/server_bound_cert_store.cc
deleted file mode 100644
index f5ca047b0b2b6f939cad5a6ea61481eac854108b..0000000000000000000000000000000000000000
--- a/net/base/server_bound_cert_store.cc
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) 2012 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/server_bound_cert_store.h"
-
-namespace net {
-
-ServerBoundCertStore::ServerBoundCert::ServerBoundCert()
- : type_(CLIENT_CERT_INVALID_TYPE) {
-}
-
-ServerBoundCertStore::ServerBoundCert::ServerBoundCert(
- const std::string& server_identifier,
- SSLClientCertType type,
- base::Time creation_time,
- base::Time expiration_time,
- const std::string& private_key,
- const std::string& cert)
- : server_identifier_(server_identifier),
- type_(type),
- creation_time_(creation_time),
- expiration_time_(expiration_time),
- private_key_(private_key),
- cert_(cert) {}
-
-ServerBoundCertStore::ServerBoundCert::~ServerBoundCert() {}
-
-void ServerBoundCertStore::InitializeFrom(const ServerBoundCertList& list) {
- for (ServerBoundCertList::const_iterator i = list.begin(); i != list.end();
- ++i) {
- SetServerBoundCert(i->server_identifier(), i->type(), i->creation_time(),
- i->expiration_time(), i->private_key(), i->cert());
- }
-}
-
-} // namespace net
« no previous file with comments | « net/base/server_bound_cert_store.h ('k') | net/base/ssl_cert_request_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698