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 a2e0795418d08e4a4c178cde7e7203ff83492705..2c77f1641a4cd73eb53a38e311ffb4be624c44b4 100644 |
--- a/chrome/browser/extensions/activity_log/counting_policy.h |
+++ b/chrome/browser/extensions/activity_log/counting_policy.h |
@@ -45,6 +45,9 @@ class CountingPolicy : public ActivityLogDatabasePolicy { |
retention_time_ = delta; |
} |
+ // Remove actions (rows) which IDs are specified in the action_ids array. |
+ virtual void RemoveActions(const std::vector<int64>& action_ids) OVERRIDE; |
+ |
// Clean the URL data stored for this policy. |
virtual void RemoveURLs(const std::vector<GURL>&) OVERRIDE; |
@@ -91,6 +94,10 @@ class CountingPolicy : public ActivityLogDatabasePolicy { |
const std::string& arg_url, |
const int days_ago); |
+ // The implementation of RemoveActions; this must only run on the database |
+ // thread. |
+ void DoRemoveActions(const std::vector<int64>& action_ids); |
+ |
// The implementation of RemoveURLs; this must only run on the database |
// thread. |
void DoRemoveURLs(const std::vector<GURL>& restrict_urls); |