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

Unified Diff: net/ssl/openssl_ssl_util.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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/ssl/openssl_platform_key_win.cc ('k') | net/ssl/openssl_ssl_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/openssl_ssl_util.h
diff --git a/net/ssl/openssl_ssl_util.h b/net/ssl/openssl_ssl_util.h
deleted file mode 100644
index a0339fca18d59101a594090de55dc341dfb97756..0000000000000000000000000000000000000000
--- a/net/ssl/openssl_ssl_util.h
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright 2014 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_SSL_OPENSSL_SSL_UTIL_H_
-#define NET_SSL_OPENSSL_SSL_UTIL_H_
-
-#include "net/base/net_log.h"
-
-namespace crypto {
-class OpenSSLErrStackTracer;
-}
-
-namespace tracked_objects {
-class Location;
-}
-
-namespace net {
-
-// Puts a net error, |err|, on the error stack in OpenSSL. The file and line are
-// extracted from |posted_from|. The function code of the error is left as 0.
-void OpenSSLPutNetError(const tracked_objects::Location& posted_from, int err);
-
-// Utility to construct the appropriate set & clear masks for use the OpenSSL
-// options and mode configuration functions. (SSL_set_options etc)
-struct SslSetClearMask {
- SslSetClearMask();
- void ConfigureFlag(long flag, bool state);
-
- long set_mask;
- long clear_mask;
-};
-
-// Converts an OpenSSL error code into a net error code, walking the OpenSSL
-// error stack if needed.
-//
-// Note that |tracer| is not currently used in the implementation, but is passed
-// in anyway as this ensures the caller will clear any residual codes left on
-// the error stack.
-int MapOpenSSLError(int err, const crypto::OpenSSLErrStackTracer& tracer);
-
-// Helper struct to store information about an OpenSSL error stack entry.
-struct OpenSSLErrorInfo {
- OpenSSLErrorInfo() : error_code(0), file(NULL), line(0) {}
-
- uint32_t error_code;
- const char* file;
- int line;
-};
-
-// Converts an OpenSSL error code into a net error code, walking the OpenSSL
-// error stack if needed. If a value on the stack is used, the error code and
-// associated information are returned in |*out_error_info|. Otherwise its
-// fields are set to 0 and NULL.
-//
-// Note that |tracer| is not currently used in the implementation, but is passed
-// in anyway as this ensures the caller will clear any residual codes left on
-// the error stack.
-int MapOpenSSLErrorWithDetails(int err,
- const crypto::OpenSSLErrStackTracer& tracer,
- OpenSSLErrorInfo* out_error_info);
-
-// Creates NetLog callback for an OpenSSL error.
-NetLog::ParametersCallback CreateNetLogOpenSSLErrorCallback(
- int net_error,
- int ssl_error,
- const OpenSSLErrorInfo& error_info);
-
-} // namespace net
-
-#endif // NET_SSL_OPENSSL_SSL_UTIL_H_
« no previous file with comments | « net/ssl/openssl_platform_key_win.cc ('k') | net/ssl/openssl_ssl_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698