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

Unified Diff: content/public/browser/dom_storage_context.h

Issue 11088005: Automate more Better Session Restore tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nicer api 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/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() {}
};

Powered by Google App Engine
This is Rietveld 408576698