Index: content/public/browser/dom_storage_context.h |
diff --git a/content/public/browser/dom_storage_context.h b/content/public/browser/dom_storage_context.h |
index 782663308150843f9684831102d756014b1d6329..a5d69f0ff2becd5ea429c776116b3d333b2607cd 100644 |
--- a/content/public/browser/dom_storage_context.h |
+++ b/content/public/browser/dom_storage_context.h |
@@ -49,6 +49,10 @@ class DOMStorageContext { |
// been created after a session restore, or a session restore won't happen. |
virtual void StartScavengingUnusedSessionStorage() = 0; |
+ // Only to be used in tests. Makes the backend write the data on disk in a |
+ // non-lazy way. |
+ virtual void DisableCommitDelayForTesting() = 0; |
+ |
protected: |
virtual ~DOMStorageContext() {} |
}; |