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

Unified Diff: chrome/browser/memory_purger.cc

Issue 10071036: RefCounted types should not have public destructors, chrome/browser/ part 6 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implementation fixes 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 | « chrome/browser/io_thread.cc ('k') | chrome/browser/metrics/field_trial_synchronizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/memory_purger.cc
diff --git a/chrome/browser/memory_purger.cc b/chrome/browser/memory_purger.cc
index 7c2fd9e0154d4cfb13048e04382ed810244f7409..6e2c14ffc0dc1100725212f84ee3b26feba4083e 100644
--- a/chrome/browser/memory_purger.cc
+++ b/chrome/browser/memory_purger.cc
@@ -46,9 +46,13 @@ class PurgeMemoryIOHelper
void PurgeMemoryOnIOThread();
private:
- typedef scoped_refptr<net::URLRequestContextGetter> RequestContextGetter;
+ friend class base::RefCountedThreadSafe<PurgeMemoryIOHelper>;
+
+ virtual ~PurgeMemoryIOHelper() {}
+ typedef scoped_refptr<net::URLRequestContextGetter> RequestContextGetter;
std::vector<RequestContextGetter> request_context_getters_;
+
scoped_refptr<SafeBrowsingService> safe_browsing_service_;
DISALLOW_COPY_AND_ASSIGN(PurgeMemoryIOHelper);
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/metrics/field_trial_synchronizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698