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

Unified Diff: net/disk_cache/net_log_parameters.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, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/cookies/cookie_monster_unittest.cc ('k') | net/disk_cache/net_log_parameters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/net_log_parameters.h
diff --git a/net/disk_cache/net_log_parameters.h b/net/disk_cache/net_log_parameters.h
index d0b0c291baae0117f5b3eef82ddd68e972fa0725..e38d177095489414610442743990f96f15b80f92 100644
--- a/net/disk_cache/net_log_parameters.h
+++ b/net/disk_cache/net_log_parameters.h
@@ -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_;
« no previous file with comments | « net/cookies/cookie_monster_unittest.cc ('k') | net/disk_cache/net_log_parameters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698