Index: chrome/browser/browsing_data_remover.h |
diff --git a/chrome/browser/browsing_data_remover.h b/chrome/browser/browsing_data_remover.h |
index ff5159e1fe575580aae26bce3cb2f798acf5e1bb..b5cf09047a77c776d068d3e55b890dc4d7993878 100644 |
--- a/chrome/browser/browsing_data_remover.h |
+++ b/chrome/browser/browsing_data_remover.h |
@@ -117,9 +117,13 @@ class BrowsingDataRemover : public content::NotificationObserver, |
BrowsingDataRemover(Profile* profile, TimePeriod time_period, |
base::Time delete_end); |
- // Removes the specified items related to browsing. |
+ // Removes the specified items related to browsing for all origins. |
void Remove(int remove_mask); |
+ // Removes the specified items related to browsing for a specific host. If the |
+ // provided |origin| is empty, data is removed for all origins. |
+ void Remove(int remove_mask, const GURL& origin); |
Bernhard Bauer
2012/02/10 19:50:57
Name this method RemoveOrigin so that you don't ov
|
+ |
void AddObserver(Observer* observer); |
void RemoveObserver(Observer* observer); |
@@ -290,6 +294,9 @@ class BrowsingDataRemover : public content::NotificationObserver, |
// The removal mask for the current removal operation. |
int remove_mask_; |
+ // The origin for the current removal operation. |
+ GURL remove_origin_; |
+ |
ObserverList<Observer> observer_list_; |
// Used if we need to clear history. |