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

Unified Diff: chrome/browser/browsing_data_remover.h

Issue 7129018: Time-based removal of temporary file systems via BrowsingDataRemover (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: QuotaManager. Created 9 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
« no previous file with comments | « no previous file | chrome/browser/browsing_data_remover.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data_remover.h
diff --git a/chrome/browser/browsing_data_remover.h b/chrome/browser/browsing_data_remover.h
index 9f940246b817b744e8b423ebcf4937d18ee5c30d..6c6e9cf5a00a5231f2ad21e43f51f85b8cf878ba 100644
--- a/chrome/browser/browsing_data_remover.h
+++ b/chrome/browser/browsing_data_remover.h
@@ -16,6 +16,7 @@
#include "content/browser/cancelable_request.h"
#include "content/common/notification_observer.h"
#include "content/common/notification_registrar.h"
+#include "webkit/quota/quota_types.h"
class ExtensionSpecialStoragePolicy;
class IOThread;
@@ -157,6 +158,11 @@ class BrowsingDataRemover : public NotificationObserver,
// Invoked on the FILE thread to delete HTML5 file systems.
void ClearFileSystemsOnFILEThread();
+ // Callback to respond to QuotaManager::GetOriginsModifiedSince.
+ void ProcessTemporaryQuotaModifiedInTimeframe(const std::set<GURL>&);
+
+ void DeleteOriginDataCallback(quota::QuotaStatusCode);
+
// Callback when the appcache has been cleared. Invokes
// NotifyAndDeleteIfDone.
void OnClearedAppCache();
@@ -239,6 +245,9 @@ class BrowsingDataRemover : public NotificationObserver,
bool waiting_for_clear_gears_data_;
bool waiting_for_clear_file_systems_;
michaeln 2011/07/21 23:49:15 I was thinking that use of the QuotaManager could
+ // Tracking how many origins need to be deleted.
+ int temporary_quota_origins_to_delete_count_;
+
ObserverList<Observer> observer_list_;
// Used if we need to clear history.
« no previous file with comments | « no previous file | chrome/browser/browsing_data_remover.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698