Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1623)

Unified Diff: chrome/browser/extensions/activity_log/activity_log.h

Issue 18878009: Add functions to clean URLs from the activity log (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use const_iterator Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/activity_log/activity_log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/activity_log/activity_log.h
diff --git a/chrome/browser/extensions/activity_log/activity_log.h b/chrome/browser/extensions/activity_log/activity_log.h
index 01830ddba02469c47560ae5e494053e6e7601201..84b6305bbffd675ca952960089a8a8c9ff313740 100644
--- a/chrome/browser/extensions/activity_log/activity_log.h
+++ b/chrome/browser/extensions/activity_log/activity_log.h
@@ -122,6 +122,13 @@ class ActivityLog : public BrowserContextKeyedService,
static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
+ // Clean up URLs from the activity log database.
+ // If restrict_urls is empty then all URLs in the activity log database are
+ // removed, otherwise only those in restrict_urls are removed.
+ virtual void RemoveURLs(const std::vector<GURL>& restrict_urls);
+ virtual void RemoveURLs(const std::set<GURL>& restrict_urls);
+ virtual void RemoveURL(const GURL& url);
+
private:
friend class ActivityLogFactory;
friend class ActivityLogTest;
« no previous file with comments | « no previous file | chrome/browser/extensions/activity_log/activity_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698