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

Unified Diff: net/disk_cache/file.h

Issue 10417002: RefCounted types should not have public destructors, net/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased to r139261 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/curvecp/packetizer.h ('k') | net/socket_stream/socket_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/file.h
diff --git a/net/disk_cache/file.h b/net/disk_cache/file.h
index 3617e0cbed797c7ed00c6ef47e6f1b106d46c2c5..446ccf5d5914fdded4c6cbc0d8cdda0299c8c3b8 100644
--- a/net/disk_cache/file.h
+++ b/net/disk_cache/file.h
@@ -19,11 +19,12 @@ namespace disk_cache {
// This interface is used to support asynchronous ReadData and WriteData calls.
class FileIOCallback {
public:
- virtual ~FileIOCallback() {}
-
// Notified of the actual number of bytes read or written. This value is
// negative if an error occurred.
virtual void OnFileIOComplete(int bytes_copied) = 0;
+
+ protected:
+ virtual ~FileIOCallback() {}
};
// Simple wrapper around a file that allows asynchronous operations.
« no previous file with comments | « net/curvecp/packetizer.h ('k') | net/socket_stream/socket_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698