summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/glue/model_associator.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/glue/model_associator.h')
-rw-r--r--chrome/browser/sync/glue/model_associator.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/sync/glue/model_associator.h b/chrome/browser/sync/glue/model_associator.h
index d869010..214db23 100644
--- a/chrome/browser/sync/glue/model_associator.h
+++ b/chrome/browser/sync/glue/model_associator.h
@@ -35,7 +35,6 @@ class ModelAssociator
: public base::RefCountedThreadSafe<ModelAssociator> {
public:
explicit ModelAssociator(ProfileSyncService* sync_service);
- virtual ~ModelAssociator() { }
// Clears all associations.
void ClearAll();
@@ -82,6 +81,9 @@ class ModelAssociator
bool AssociateModels();
protected:
+ friend class base::RefCountedThreadSafe<ModelAssociator>;
+ virtual ~ModelAssociator() { }
+
// Stores the id of the node with the given tag in |sync_id|.
// Returns of that node was found successfully.
// Tests override this.