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 2f7b36146bf778faff8492e0ecfba318b3356ad7..b48dd628ff53d95cfc1af4f8073b769b344d1479 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; |
} |
+ // Clean the URL data stored for this policy. |
+ virtual void RemoveURLs(const std::vector<GURL>&) OVERRIDE; |
+ |
// The main database table, and the name for a read-only view that |
// decompresses string values for easier parsing. |
static const char* kTableName; |
@@ -84,6 +87,10 @@ class CountingPolicy : public ActivityLogDatabasePolicy { |
const std::string& page_url, |
const std::string& arg_url); |
+ // The implementation of RemoveURLs; this must only run on the database |
+ // thread. |
+ void DoRemoveURLs(const std::vector<GURL>& restrict_urls); |
+ |
// Cleans old records from the activity log database. |
bool CleanOlderThan(sql::Connection* db, const base::Time& cutoff); |