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

Unified Diff: webkit/chromeos/fileapi/remote_file_system_proxy.h

Issue 10386206: RefCounted types should not have public destructors, chromeos edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to r143931 Created 8 years, 6 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 | « ui/aura/root_window.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/chromeos/fileapi/remote_file_system_proxy.h
diff --git a/webkit/chromeos/fileapi/remote_file_system_proxy.h b/webkit/chromeos/fileapi/remote_file_system_proxy.h
index 77e4a04df198e4dba17fe76dc4da0d27b5a3ef99..95f9325e69f1e643a3f089164a23c87c6fb1c723 100644
--- a/webkit/chromeos/fileapi/remote_file_system_proxy.h
+++ b/webkit/chromeos/fileapi/remote_file_system_proxy.h
@@ -23,8 +23,6 @@ typedef base::Callback<
class RemoteFileSystemProxyInterface :
public base::RefCountedThreadSafe<RemoteFileSystemProxyInterface> {
public:
- virtual ~RemoteFileSystemProxyInterface() {}
-
// Gets the file or directory info for given|path|.
virtual void GetFileInfo(const GURL& path,
const FileSystemOperationInterface::GetMetadataCallback& callback) = 0;
@@ -95,6 +93,10 @@ class RemoteFileSystemProxyInterface :
base::ProcessHandle peer_handle,
const FileSystemOperationInterface::OpenFileCallback& callback) = 0;
// TODO(zelidrag): More methods to follow as we implement other parts of FSO.
+
+ protected:
+ friend class base::RefCountedThreadSafe<RemoteFileSystemProxyInterface>;
+ virtual ~RemoteFileSystemProxyInterface() {}
};
} // namespace fileapi
« no previous file with comments | « ui/aura/root_window.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698