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

Unified Diff: content/public/browser/indexed_db_context.h

Issue 10069054: RefCounted types should not have public destructors, content/ remaining bits (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased to Trunk 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
Index: content/public/browser/indexed_db_context.h
diff --git a/content/public/browser/indexed_db_context.h b/content/public/browser/indexed_db_context.h
index 91b8664175c4c212ddeea043a5d27e706d47f453..8c5128816c5569f3df63afc2195412afada46f24 100644
--- a/content/public/browser/indexed_db_context.h
+++ b/content/public/browser/indexed_db_context.h
@@ -24,8 +24,6 @@ namespace content {
// Call these methods only on the WebKit thread.
class IndexedDBContext : public base::RefCountedThreadSafe<IndexedDBContext> {
public:
- virtual ~IndexedDBContext() {}
-
// Methods used in response to QuotaManager requests.
virtual std::vector<GURL> GetAllOrigins() = 0;
virtual int64 GetOriginDiskUsage(const GURL& origin_url) = 0;
@@ -36,6 +34,10 @@ class IndexedDBContext : public base::RefCountedThreadSafe<IndexedDBContext> {
// Get the file name of the local storage file for the given origin.
virtual FilePath GetFilePathForTesting(const string16& origin_id) const = 0;
+
+ protected:
+ friend class base::RefCountedThreadSafe<IndexedDBContext>;
+ virtual ~IndexedDBContext() {}
};
} // namespace content
« no previous file with comments | « content/public/browser/download_manager.h ('k') | content/public/browser/resource_dispatcher_host_login_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698