summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/net_log_parameters.h
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-28 09:29:28 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-28 09:29:28 +0000
commita981330295415845ef13cd85afeff42032d782df (patch)
tree46ad72c4cabd094a5f4dea2faa1bde6fb7d3677f /net/disk_cache/net_log_parameters.h
parent20eef6d14fce11a57949d052db064e56242c4c82 (diff)
downloadchromium_src-a981330295415845ef13cd85afeff42032d782df.zip
chromium_src-a981330295415845ef13cd85afeff42032d782df.tar.gz
chromium_src-a981330295415845ef13cd85afeff42032d782df.tar.bz2
RefCounted types should not have public destructors, net/
BUG=123295 TEST=none Review URL: http://codereview.chromium.org/10066045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134460 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/net_log_parameters.h')
-rw-r--r--net/disk_cache/net_log_parameters.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/net/disk_cache/net_log_parameters.h b/net/disk_cache/net_log_parameters.h
index d0b0c29..4e6b8fe 100644
--- a/net/disk_cache/net_log_parameters.h
+++ b/net/disk_cache/net_log_parameters.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 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.
@@ -21,6 +21,9 @@ class EntryCreationParameters : public net::NetLog::EventParameters {
EntryCreationParameters(const std::string& key, bool created);
virtual base::Value* ToValue() const OVERRIDE;
+ protected:
+ virtual ~EntryCreationParameters();
+
private:
const std::string key_;
const bool created_;
@@ -35,6 +38,9 @@ class ReadWriteDataParameters : public net::NetLog::EventParameters {
ReadWriteDataParameters(int index, int offset, int buf_len, bool truncate);
virtual base::Value* ToValue() const OVERRIDE;
+ protected:
+ virtual ~ReadWriteDataParameters();
+
private:
const int index_;
const int offset_;
@@ -53,6 +59,9 @@ class ReadWriteCompleteParameters : public net::NetLog::EventParameters {
explicit ReadWriteCompleteParameters(int bytes_copied);
virtual base::Value* ToValue() const OVERRIDE;
+ protected:
+ virtual ~ReadWriteCompleteParameters();
+
private:
const int bytes_copied_;
@@ -65,6 +74,9 @@ class SparseOperationParameters : public net::NetLog::EventParameters {
SparseOperationParameters(int64 offset, int buff_len);
virtual base::Value* ToValue() const OVERRIDE;
+ protected:
+ virtual ~SparseOperationParameters();
+
private:
const int64 offset_;
const int buff_len_;
@@ -77,6 +89,9 @@ class SparseReadWriteParameters : public net::NetLog::EventParameters {
SparseReadWriteParameters(const net::NetLog::Source& source, int child_len);
virtual base::Value* ToValue() const OVERRIDE;
+ protected:
+ virtual ~SparseReadWriteParameters();
+
private:
const net::NetLog::Source source_;
const int child_len_;
@@ -89,6 +104,9 @@ class GetAvailableRangeResultParameters : public net::NetLog::EventParameters {
GetAvailableRangeResultParameters(int64 start, int result);
virtual base::Value* ToValue() const OVERRIDE;
+ protected:
+ virtual ~GetAvailableRangeResultParameters();
+
private:
const int64 start_;
const int result_;