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

Unified Diff: chrome/browser/prefs/default_pref_store.h

Issue 10068036: RefCounted types should not have public destructors, chrome/browser/ part 5 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win 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
Index: chrome/browser/prefs/default_pref_store.h
diff --git a/chrome/browser/prefs/default_pref_store.h b/chrome/browser/prefs/default_pref_store.h
index 96de6d3c0420995896b1c11629ff68dba56a0d1f..1cde79dbaac1e5ca5100517a604d6dfd25e6d757 100644
--- a/chrome/browser/prefs/default_pref_store.h
+++ b/chrome/browser/prefs/default_pref_store.h
@@ -16,7 +16,6 @@
class DefaultPrefStore : public ValueMapPrefStore {
public:
DefaultPrefStore();
- virtual ~DefaultPrefStore();
// Stores a new |value| for |key|. Assumes ownership of |value|.
void SetDefaultValue(const std::string& key, Value* value);
@@ -28,6 +27,9 @@ class DefaultPrefStore : public ValueMapPrefStore {
// has not been registered.
base::Value::Type GetType(const std::string& key) const;
+ protected:
+ virtual ~DefaultPrefStore();
+
private:
DISALLOW_COPY_AND_ASSIGN(DefaultPrefStore);
};
« no previous file with comments | « chrome/browser/prefs/command_line_pref_store_unittest.cc ('k') | chrome/browser/prefs/default_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698