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

Unified Diff: net/socket/ssl_error_params.cc

Issue 494913002: Include better OpenSSL error information in NetLog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: inline pod ctor Created 6 years, 4 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/ssl_error_params.h ('k') | net/socket/ssl_server_socket_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_error_params.cc
diff --git a/net/socket/ssl_error_params.cc b/net/socket/ssl_error_params.cc
deleted file mode 100644
index 37561f0de48a6c593ca327323b1802fa6a3b9dc6..0000000000000000000000000000000000000000
--- a/net/socket/ssl_error_params.cc
+++ /dev/null
@@ -1,31 +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.
-
-#include "net/socket/ssl_error_params.h"
-
-#include "base/bind.h"
-#include "base/values.h"
-
-namespace net {
-
-namespace {
-
-base::Value* NetLogSSLErrorCallback(int net_error,
- int ssl_lib_error,
- NetLog::LogLevel /* log_level */) {
- base::DictionaryValue* dict = new base::DictionaryValue();
- dict->SetInteger("net_error", net_error);
- if (ssl_lib_error)
- dict->SetInteger("ssl_lib_error", ssl_lib_error);
- return dict;
-}
-
-} // namespace
-
-NetLog::ParametersCallback CreateNetLogSSLErrorCallback(int net_error,
- int ssl_lib_error) {
- return base::Bind(&NetLogSSLErrorCallback, net_error, ssl_lib_error);
-}
-
-} // namespace net
« no previous file with comments | « net/socket/ssl_error_params.h ('k') | net/socket/ssl_server_socket_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698