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

Unified Diff: chrome/browser/extensions/extension_info_map.h

Issue 10071035: RefCounted types should not have public destructors, chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile fix 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/extensions/extension_idle_api.cc ('k') | chrome/browser/extensions/extension_info_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_info_map.h
diff --git a/chrome/browser/extensions/extension_info_map.h b/chrome/browser/extensions/extension_info_map.h
index 8b00664291381025d0fd4b993708ccf885ec1f1c..df8a6c5fe2e474184677b42d2013636afae4841b 100644
--- a/chrome/browser/extensions/extension_info_map.h
+++ b/chrome/browser/extensions/extension_info_map.h
@@ -25,7 +25,6 @@ class Extension;
class ExtensionInfoMap : public base::RefCountedThreadSafe<ExtensionInfoMap> {
public:
ExtensionInfoMap();
- ~ExtensionInfoMap();
const ExtensionSet& extensions() const { return extensions_; }
const ExtensionSet& disabled_extensions() const {
@@ -74,11 +73,15 @@ class ExtensionInfoMap : public base::RefCountedThreadSafe<ExtensionInfoMap> {
ExtensionsQuotaService* GetQuotaService();
private:
+ friend class base::RefCountedThreadSafe<ExtensionInfoMap>;
+
// Extra dynamic data related to an extension.
struct ExtraData;
// Map of extension_id to ExtraData.
typedef std::map<std::string, ExtraData> ExtraDataMap;
+ ~ExtensionInfoMap();
+
ExtensionSet extensions_;
ExtensionSet disabled_extensions_;
« no previous file with comments | « chrome/browser/extensions/extension_idle_api.cc ('k') | chrome/browser/extensions/extension_info_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698