blob: 434d8bcb07e2d216ef9a71d149397f268c86142a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// 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_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 base::Value* ToValue() const OVERRIDE;
private:
const int net_error_;
const int ssl_lib_error_;
};
} // namespace net
#endif // NET_SOCKET_SSL_ERROR_PARAMS_H_
|