| Index: chrome/browser/extensions/activity_log/counting_policy.h
|
| diff --git a/chrome/browser/extensions/activity_log/counting_policy.h b/chrome/browser/extensions/activity_log/counting_policy.h
|
| index 3baa41a102dc1fd26e75b6f8b622babe9e3775c0..523bb47f16f320abf163dbcae8751fdf25595b2e 100644
|
| --- a/chrome/browser/extensions/activity_log/counting_policy.h
|
| +++ b/chrome/browser/extensions/activity_log/counting_policy.h
|
| @@ -48,6 +48,9 @@ class CountingPolicy : public ActivityLogDatabasePolicy {
|
| // Clean the URL data stored for this policy.
|
| virtual void RemoveURLs(const std::vector<GURL>&) OVERRIDE;
|
|
|
| + // Clean the data related to this extension for this policy.
|
| + virtual void RemoveExtensionData(const std::string& extension_id) OVERRIDE;
|
| +
|
| // Delete everything in the database.
|
| virtual void DeleteDatabase() OVERRIDE;
|
|
|
| @@ -89,6 +92,10 @@ class CountingPolicy : public ActivityLogDatabasePolicy {
|
| // thread.
|
| void DoRemoveURLs(const std::vector<GURL>& restrict_urls);
|
|
|
| + // The implementation of RemoveExtensionData; this must only run on the
|
| + // database thread.
|
| + void DoRemoveExtensionData(const std::string& extension_id);
|
| +
|
| // The implementation of DeleteDatabase; called on the database thread.
|
| void DoDeleteDatabase();
|
|
|
|
|