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

Unified Diff: webkit/glue/resource_loader_bridge.h

Issue 10416004: RefCounted types should not have public destructors, webkit/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to r140259 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 | « webkit/fileapi/test_mount_point_provider.h ('k') | webkit/glue/websocketstreamhandle_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/resource_loader_bridge.h
diff --git a/webkit/glue/resource_loader_bridge.h b/webkit/glue/resource_loader_bridge.h
index cb5f5b703c0fac4804542df1847ee97be323c31b..45a6bbe0187a2944068fa1070cebce6e8a0e22fa 100644
--- a/webkit/glue/resource_loader_bridge.h
+++ b/webkit/glue/resource_loader_bridge.h
@@ -294,8 +294,6 @@ class ResourceLoaderBridge {
// for more information.
class Peer {
public:
- virtual ~Peer() {}
-
// Called as upload progress is made.
// note: only for requests with LOAD_ENABLE_UPLOAD_PROGRESS set
virtual void OnUploadProgress(uint64 position, uint64 size) = 0;
@@ -341,6 +339,9 @@ class ResourceLoaderBridge {
const net::URLRequestStatus& status,
const std::string& security_info,
const base::TimeTicks& completion_time) = 0;
+
+ protected:
+ virtual ~Peer() {}
};
// use WebKitPlatformSupportImpl::CreateResourceLoader() for construction, but
« no previous file with comments | « webkit/fileapi/test_mount_point_provider.h ('k') | webkit/glue/websocketstreamhandle_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698