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

Unified Diff: net/socket/ssl_error_params.h

Issue 3845005: Add support for restricting the cipher suites that SSLClientSocket(Mac,NSS) use (Closed)
Patch Set: Upload before commit Created 10 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/socket/ssl_error_params.h
diff --git a/net/socket/ssl_error_params.h b/net/socket/ssl_error_params.h
new file mode 100644
index 0000000000000000000000000000000000000000..ae546fee86bb329e7000d01aab68cfd87271154d
--- /dev/null
+++ b/net/socket/ssl_error_params.h
@@ -0,0 +1,28 @@
+// 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_SOCKET_SSL_ERROR_PARAMS_H_
+#define NET_SOCKET_SSL_ERROR_PARAMS_H_
+#pragma once
+
+#include "net/base/net_log.h"
+
+namespace net {
+
+// Extra parameters to attach to the NetLog when we receive an SSL error.
+class SSLErrorParams : public NetLog::EventParameters {
+ public:
+ SSLErrorParams(int net_error, int ssl_lib_error);
+ virtual ~SSLErrorParams();
+
+ virtual Value* ToValue() const;
+
+ private:
+ const int net_error_;
+ const int ssl_lib_error_;
+};
+
+} // namespace net
+
+#endif // NET_SOCKET_SSL_ERROR_PARAMS_H_

Powered by Google App Engine
This is Rietveld 408576698