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

Unified Diff: content/browser/storage_partition_impl.h

Issue 11147026: Initial refactor to get profiles to propagate storage partition details. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changing bool param to pass by reference. Created 8 years, 2 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
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);
};

Powered by Google App Engine
This is Rietveld 408576698