Chromium Code Reviews| Index: content/browser/storage_partition_impl_map.h |
| diff --git a/content/browser/storage_partition_impl_map.h b/content/browser/storage_partition_impl_map.h |
| index 9da35c304aa0e76f4c4e0bfd34322ee947973715..f590da8153e5dfa130d39dd3ba64605f34480dd6 100644 |
| --- a/content/browser/storage_partition_impl_map.h |
| +++ b/content/browser/storage_partition_impl_map.h |
| @@ -32,6 +32,11 @@ class StoragePartitionImplMap : public base::SupportsUserData::Data { |
| const std::string& partition_name, |
| bool in_memory); |
| + // Starts an asynchronous best-effort attempt to delete all on-disk storage |
| + // related to |site|, avoiding any directories that are in use by |
| + // |partition_map|. |
|
Charlie Reis
2012/11/16 01:45:10
nit: There's no |partition_map| here. Can you cla
awong
2012/11/16 02:56:10
Was referring to current object. Just removed tha
|
| + void AsyncObliterate(const GURL& site); |
| + |
| void ForEach(const BrowserContext::StoragePartitionCallback& callback); |
| private: |
| @@ -93,7 +98,8 @@ class StoragePartitionImplMap : public base::SupportsUserData::Data { |
| // TODO(ajwong): Is there a way to make it so that Get()'s implementation |
| // doesn't need to be aware of this ordering? Revisit when refactoring |
| // ResourceContext and AppCache to respect storage partitions. |
| - void PostCreateInitialization(StoragePartitionImpl* partition); |
| + void PostCreateInitialization(StoragePartitionImpl* partition, |
| + bool in_memory); |
| BrowserContext* browser_context_; // Not Owned. |
| PartitionMap partitions_; |