Index: content/public/browser/browser_context.h |
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h |
index ff4446f3843b51eae0726f78fae2262642a48f06..5e2b37f8aa0343e2107f0a07f2b23accc48faa1f 100644 |
--- a/content/public/browser/browser_context.h |
+++ b/content/public/browser/browser_context.h |
@@ -52,7 +52,17 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData { |
const StoragePartitionCallback& callback); |
static void AsyncObliterateStoragePartition( |
BrowserContext* browser_context, |
- const GURL& site); |
+ const GURL& site, |
+ const base::Closure& on_gc_required); |
+ |
+ // This function clears the contents of |active_paths| but does not take |
+ // ownership of the pointer. |
+ // |
+ // TODO(ajwong): Don't hide the malloc via this API. |
+ static void GarbageCollectStoragePartitions( |
+ BrowserContext* browser_context, |
+ base::hash_set<FilePath>* active_paths, |
+ const base::Closure& done); |
// DON'T USE THIS. GetDefaultStoragePartition() is going away. |
// Use GetStoragePartition() instead. Ask ajwong@ if you have problems. |