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

Unified Diff: net/base/origin_bound_cert_type.h

Issue 8662036: Support EC certs in OriginBoundCertService and OriginBoundCertStore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
Index: net/base/origin_bound_cert_type.h
diff --git a/net/base/origin_bound_cert_type.h b/net/base/origin_bound_cert_type.h
new file mode 100644
index 0000000000000000000000000000000000000000..1edb08be543e846b76ef83f3763910d8ca08d3de
--- /dev/null
+++ b/net/base/origin_bound_cert_type.h
@@ -0,0 +1,20 @@
+// Copyright (c) 2011 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_ORIGIN_BOUND_CERT_TYPE_H_
+#define NET_BASE_ORIGIN_BOUND_CERT_TYPE_H_
+#pragma once
+
+namespace net {
+
+// These values may be persisted to disk. Do not change or reorder them.
Ryan Sleevi 2011/11/25 00:07:02 Why not just explicitly specify their values then?
+enum OriginBoundCertType {
wtc 2011/11/30 23:23:40 I suggest renaming this type SSLClientCertType. W
mattm 2011/12/02 01:55:59 Done.
+ ORIGIN_BOUND_INVALID_CERT_TYPE,
+ ORIGIN_BOUND_RSA_CERT,
+ ORIGIN_BOUND_EC_CERT,
+};
+
+} // namespace net
+
+#endif // NET_BASE_ORIGIN_BOUND_CERT_TYPE_H_

Powered by Google App Engine
This is Rietveld 408576698