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

Unified Diff: net/base/cert_type.h

Issue 13006020: net: extract net/cert 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/cert_trust_anchor_provider.h ('k') | net/base/cert_verifier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cert_type.h
diff --git a/net/base/cert_type.h b/net/base/cert_type.h
deleted file mode 100644
index d9cb8a5d4792f290fae7d0c8674ed7ff920cf12d..0000000000000000000000000000000000000000
--- a/net/base/cert_type.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// 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.
-
-#ifndef NET_BASE_CERT_TYPE_H_
-#define NET_BASE_CERT_TYPE_H_
-
-namespace net {
-
-// Constants to classify the type of a certificate.
-// This is only used in the context of CertDatabase, but is defined outside to
-// avoid an awkwardly long type name.
-// The type is a combination of intrinsic properties, such as the presense of an
-// Certificate Authority Basic Constraint, and assigned trust values. For
-// example, a cert with no basic constraints or trust would be classified as
-// UNKNOWN_CERT. If that cert is then trusted with SetCertTrust(cert,
-// SERVER_CERT, TRUSTED_SSL), it would become a SERVER_CERT.
-enum CertType {
- UNKNOWN_CERT,
- CA_CERT,
- USER_CERT,
- SERVER_CERT,
- NUM_CERT_TYPES
-};
-
-} // namespace net
-
-#endif // NET_BASE_CERT_TYPE_H_
« no previous file with comments | « net/base/cert_trust_anchor_provider.h ('k') | net/base/cert_verifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698