Updating trunk VERSION from 1014.0 to 1015.0
[chromium-blink-merge.git] / net / base / address_list_net_log_param.h
blobb33fee17f55eeec8f3045876347f4d72deb9ef14
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef NET_BASE_ADDRESS_LIST_NET_LOG_PARAM_H_
6 #define NET_BASE_ADDRESS_LIST_NET_LOG_PARAM_H_
7 #pragma once
9 #include "net/base/address_list.h"
10 #include "net/base/net_log.h"
12 namespace net {
14 // NetLog parameter to describe an address list.
15 // Note that AddressList uses ref-counted data, so this doesn't introduce
16 // much of a memory overhead.
17 class AddressListNetLogParam : public NetLog::EventParameters {
18 public:
19 explicit AddressListNetLogParam(const AddressList& address_list);
21 virtual base::Value* ToValue() const OVERRIDE;
23 private:
24 AddressList address_list_;
27 } // namespace net
29 #endif // NET_BASE_ADDRESS_LIST_NET_LOG_PARAM_H_