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

Unified Diff: net/socket/nss_ssl_util.h

Issue 1882433002: Removing NSS files and USE_OPENSSL flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 8 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/socket/client_socket_factory.cc ('k') | net/socket/nss_ssl_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/nss_ssl_util.h
diff --git a/net/socket/nss_ssl_util.h b/net/socket/nss_ssl_util.h
deleted file mode 100644
index 5d9ec7e04e88541ff33306ac99d01cd0382cae0e..0000000000000000000000000000000000000000
--- a/net/socket/nss_ssl_util.h
+++ /dev/null
@@ -1,46 +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.
-
-// This file is only included in ssl_client_socket_nss.cc and
-// ssl_server_socket_nss.cc to share common functions of NSS.
-
-#ifndef NET_SOCKET_NSS_SSL_UTIL_H_
-#define NET_SOCKET_NSS_SSL_UTIL_H_
-
-#include <prerror.h>
-#include <prio.h>
-
-#include "net/base/net_export.h"
-#include "net/log/net_log.h"
-
-namespace net {
-
-class BoundNetLog;
-
-// Initalize NSS SSL library.
-NET_EXPORT void EnsureNSSSSLInit();
-
-// Log a failed NSS funcion call.
-void LogFailedNSSFunction(const BoundNetLog& net_log,
- const char* function,
- const char* param);
-
-// Map network error code to NSS error code.
-PRErrorCode MapErrorToNSS(int result);
-
-// GetNSSModelSocket returns either NULL, or an NSS socket that can be passed
-// to |SSL_ImportFD| in order to inherit some default options.
-PRFileDesc* GetNSSModelSocket();
-
-// Map NSS error code to network error code.
-int MapNSSError(PRErrorCode err);
-
-// Creates a NetLog callback for an SSL error.
-NetLog::ParametersCallback CreateNetLogSSLErrorCallback(int net_error,
- int ssl_lib_error);
-
-
-} // namespace net
-
-#endif // NET_SOCKET_NSS_SSL_UTIL_H_
« no previous file with comments | « net/socket/client_socket_factory.cc ('k') | net/socket/nss_ssl_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698