| Index: content/browser/browser_context.cc
|
| diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc
|
| index 32bfe0d5a85ec82186ef89b66a125e2823d7afec..2385ca034ce11420062b72ecd8553f566a42042a 100644
|
| --- a/content/browser/browser_context.cc
|
| +++ b/content/browser/browser_context.cc
|
| @@ -94,8 +94,19 @@ void PurgeMemoryOnIOThread(appcache::AppCacheService* appcache_service) {
|
| // static
|
| void BrowserContext::AsyncObliterateStoragePartition(
|
| BrowserContext* browser_context,
|
| - const GURL& site) {
|
| - GetStoragePartitionMap(browser_context)->AsyncObliterate(site);
|
| + const GURL& site,
|
| + const base::Closure& on_gc_required) {
|
| + GetStoragePartitionMap(browser_context)->AsyncObliterate(site,
|
| + on_gc_required);
|
| +}
|
| +
|
| +// static
|
| +void BrowserContext::GarbageCollectStoragePartitions(
|
| + BrowserContext* browser_context,
|
| + scoped_ptr<base::hash_set<FilePath> > active_paths,
|
| + const base::Closure& done) {
|
| + GetStoragePartitionMap(browser_context)->GarbageCollect(
|
| + active_paths.Pass(), done);
|
| }
|
|
|
| DownloadManager* BrowserContext::GetDownloadManager(
|
|
|