| Index: chrome/browser/extensions/activity_log/activity_log.h
|
| diff --git a/chrome/browser/extensions/activity_log/activity_log.h b/chrome/browser/extensions/activity_log/activity_log.h
|
| index cef16ad63f9d6c839acc3f741548312f624c4abb..25691bf4b2eb331352e486e64fa7d4c12f88df8f 100644
|
| --- a/chrome/browser/extensions/activity_log/activity_log.h
|
| +++ b/chrome/browser/extensions/activity_log/activity_log.h
|
| @@ -185,7 +185,10 @@ class ActivityLog : public BrowserContextKeyedService,
|
| scoped_refptr<ObserverList> observers_;
|
|
|
| // The policy object takes care of data summarization, compression, and
|
| - // logging
|
| + // logging. The policy object is owned by the ActivityLog, but this cannot
|
| + // be a scoped_ptr since some cleanup work must happen on the database
|
| + // thread. Calling policy_->Close() will free the object; see the comments
|
| + // on the ActivityDatabase class for full details.
|
| extensions::ActivityLogPolicy* policy_;
|
|
|
| // TODO(dbabic,felt) change this into a list of policy types later.
|
|
|