Chromium Code Reviews| Index: content/browser/storage_partition_impl.h |
| diff --git a/content/browser/storage_partition_impl.h b/content/browser/storage_partition_impl.h |
| index d3d6dba1593d368802e53d6a84cf76acb440e7ca..b1f255feb719189ebdda8becd7568e2622258680 100644 |
| --- a/content/browser/storage_partition_impl.h |
| +++ b/content/browser/storage_partition_impl.h |
| @@ -35,6 +35,7 @@ class StoragePartitionImpl : public StoragePartition { |
| virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE; |
| virtual DOMStorageContextImpl* GetDOMStorageContext() OVERRIDE; |
| virtual IndexedDBContextImpl* GetIndexedDBContext() OVERRIDE; |
| + virtual bool IsInMemoryOnly() OVERRIDE; |
|
awong
2012/10/18 22:36:15
InMemory() is sufficient I think.
nasko
2012/10/19 17:29:14
Done.
|
| private: |
| friend class StoragePartitionImplMap; |
| @@ -74,6 +75,10 @@ class StoragePartitionImpl : public StoragePartition { |
| scoped_refptr<DOMStorageContextImpl> dom_storage_context_; |
| scoped_refptr<IndexedDBContextImpl> indexed_db_context_; |
| + |
| + // Boolean to indicate whether this partition should be persisted or not. |
| + bool in_memory_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl); |
| }; |