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

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: Fix some comments Created 7 years, 5 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
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 2a4e491b266ffca100f0af4f15a748b460138e8e..adb956f8311cd3ed38021290c644421401b6acf9 100644
--- a/chrome/browser/extensions/activity_log/activity_log.h
+++ b/chrome/browser/extensions/activity_log/activity_log.h
@@ -145,6 +145,12 @@ class ActivityLog : public BrowserContextKeyedService,
// BrowserContextKeyedService
virtual void Shutdown() OVERRIDE;
+ // Clean up URLs from the activity log database.
+ // If gurls is empty then all URLs in the activity log database are removed.
+ virtual void RemoveURLs(const std::vector<GURL>& gurls);
+ virtual void RemoveURLs(const std::set<GURL>& gurls);
+ virtual void RemoveURL(const GURL& gurl);
+
private:
friend class ActivityLogFactory;
friend class ActivityLogTest;

Powered by Google App Engine
This is Rietveld 408576698