blob: 141c2d0415c702a765e5aa6dbe5c80b59aebf7e7 (
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
29
|
// 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_BASE_ADDRESS_LIST_NET_LOG_PARAM_H_
#define NET_BASE_ADDRESS_LIST_NET_LOG_PARAM_H_
#pragma once
#include "net/base/address_list.h"
#include "net/base/net_log.h"
namespace net {
// NetLog parameter to describe an address list.
// Note that AddressList uses ref-counted data, so this doesn't introduce
// much of a memory overhead.
class AddressListNetLogParam : public NetLog::EventParameters {
public:
explicit AddressListNetLogParam(const AddressList& address_list);
virtual Value* ToValue() const;
private:
AddressList address_list_;
};
} // namespace net
#endif // NET_BASE_ADDRESS_LIST_NET_LOG_PARAM_H_
|