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

Side by Side Diff: net/base/address_list_net_log_param.h

Issue 10066045: RefCounted types should not have public destructors, net/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Deprecated cookiestore fix Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | net/base/default_server_bound_cert_store.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_BASE_ADDRESS_LIST_NET_LOG_PARAM_H_ 5 #ifndef NET_BASE_ADDRESS_LIST_NET_LOG_PARAM_H_
6 #define NET_BASE_ADDRESS_LIST_NET_LOG_PARAM_H_ 6 #define NET_BASE_ADDRESS_LIST_NET_LOG_PARAM_H_
7 #pragma once 7 #pragma once
8 8
9 #include "net/base/address_list.h" 9 #include "net/base/address_list.h"
10 #include "net/base/net_log.h" 10 #include "net/base/net_log.h"
11 11
12 namespace net { 12 namespace net {
13 13
14 // NetLog parameter to describe an address list. 14 // NetLog parameter to describe an address list.
15 // Note that AddressList uses ref-counted data, so this doesn't introduce 15 // Note that AddressList uses ref-counted data, so this doesn't introduce
16 // much of a memory overhead. 16 // much of a memory overhead.
17 class AddressListNetLogParam : public NetLog::EventParameters { 17 class AddressListNetLogParam : public NetLog::EventParameters {
18 public: 18 public:
19 explicit AddressListNetLogParam(const AddressList& address_list); 19 explicit AddressListNetLogParam(const AddressList& address_list);
20 20
21 virtual base::Value* ToValue() const OVERRIDE; 21 virtual base::Value* ToValue() const OVERRIDE;
22 22
23 protected:
24 virtual ~AddressListNetLogParam() {}
25
23 private: 26 private:
24 AddressList address_list_; 27 AddressList address_list_;
25 }; 28 };
26 29
27 } // namespace net 30 } // namespace net
28 31
29 #endif // NET_BASE_ADDRESS_LIST_NET_LOG_PARAM_H_ 32 #endif // NET_BASE_ADDRESS_LIST_NET_LOG_PARAM_H_
OLDNEW
« no previous file with comments | « no previous file | net/base/default_server_bound_cert_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698