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 6cf48c88ed32dd3e01015de4bff81a242a5bafc4..1cf2d6f0eb95680a2cdafdd72c7bd64812448a76 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(); |