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

Side by Side Diff: net/base/x509_certificate_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 | « net/base/net_log.cc ('k') | net/base/x509_certificate_net_log_param.cc » ('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_X509_CERT_NET_LOG_PARAM_H_ 5 #ifndef NET_BASE_X509_CERT_NET_LOG_PARAM_H_
6 #define NET_BASE_X509_CERT_NET_LOG_PARAM_H_ 6 #define NET_BASE_X509_CERT_NET_LOG_PARAM_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "net/base/net_log.h" 13 #include "net/base/net_log.h"
14 14
15 namespace net { 15 namespace net {
16 16
17 class X509Certificate; 17 class X509Certificate;
18 18
19 // NetLog parameter to describe an X509Certificate. 19 // NetLog parameter to describe an X509Certificate.
20 // Note: These parameters are memory intensive, due to PEM-encoding each 20 // Note: These parameters are memory intensive, due to PEM-encoding each
21 // certificate, thus should only be used when logging at NetLog::LOG_ALL. 21 // certificate, thus should only be used when logging at NetLog::LOG_ALL.
22 class X509CertificateNetLogParam : public NetLog::EventParameters { 22 class X509CertificateNetLogParam : public NetLog::EventParameters {
23 public: 23 public:
24 explicit X509CertificateNetLogParam(X509Certificate* certificate); 24 explicit X509CertificateNetLogParam(X509Certificate* certificate);
25 virtual ~X509CertificateNetLogParam();
26 25
27 virtual base::Value* ToValue() const OVERRIDE; 26 virtual base::Value* ToValue() const OVERRIDE;
28 27
28 protected:
29 virtual ~X509CertificateNetLogParam();
30
29 private: 31 private:
30 std::vector<std::string> encoded_chain_; 32 std::vector<std::string> encoded_chain_;
31 }; 33 };
32 34
33 } // namespace net 35 } // namespace net
34 36
35 #endif // NET_BASE_X509_CERT_NET_LOG_PARAM_H_ 37 #endif // NET_BASE_X509_CERT_NET_LOG_PARAM_H_
OLDNEW
« no previous file with comments | « net/base/net_log.cc ('k') | net/base/x509_certificate_net_log_param.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698