| Index: chrome/browser/extensions/activity_log/activity_log_policy.h
|
| diff --git a/chrome/browser/extensions/activity_log/activity_log_policy.h b/chrome/browser/extensions/activity_log/activity_log_policy.h
|
| index a0d3472860d3b56eb01476ea4e2248f0fe89242e..be8f5e1490a927f3de960027333bcd0d5a8437ba 100644
|
| --- a/chrome/browser/extensions/activity_log/activity_log_policy.h
|
| +++ b/chrome/browser/extensions/activity_log/activity_log_policy.h
|
| @@ -38,6 +38,7 @@ class Extension;
|
| // (1) Receiving Actions to process, and summarizing, compression, and storing
|
| // these as appropriate.
|
| // (2) Reading Actions back from storage.
|
| +// (3) Cleaning of URLs
|
| //
|
| // Implementations based on a database should likely implement
|
| // ActivityDatabase::Delegate, which provides hooks on database events and
|
| @@ -87,6 +88,10 @@ class ActivityLogPolicy {
|
| const base::Callback
|
| <void(scoped_ptr<Action::ActionVector>)>& callback) = 0;
|
|
|
| + // Clean the relevant URL data. The cleaning may need to be different for
|
| + // different policies. If restrict_urls is empty then all URLs are removed.
|
| + virtual void RemoveURLs(const std::vector<GURL>& restrict_urls) = 0;
|
| +
|
| // For unit testing only.
|
| void SetClockForTesting(scoped_ptr<base::Clock> clock);
|
|
|
|
|