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

Unified Diff: webkit/dom_storage/dom_storage_area.h

Issue 11088005: Automate more Better Session Restore tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: export inner 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
« no previous file with comments | « webkit/database/webkit_database.gypi ('k') | webkit/dom_storage/dom_storage_area.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/dom_storage/dom_storage_area.h
diff --git a/webkit/dom_storage/dom_storage_area.h b/webkit/dom_storage/dom_storage_area.h
index 7a179010ee57be1736c57c4f2a4c785c3c4da0fa..ebb4735290de083a3030a5abbf1bf93ba4c099ad 100644
--- a/webkit/dom_storage/dom_storage_area.h
+++ b/webkit/dom_storage/dom_storage_area.h
@@ -12,6 +12,7 @@
#include "base/nullable_string16.h"
#include "base/string16.h"
#include "googleurl/src/gurl.h"
+#include "webkit/dom_storage/dom_storage_export.h"
#include "webkit/dom_storage/dom_storage_types.h"
namespace dom_storage {
@@ -24,7 +25,7 @@ class SessionStorageDatabase;
// Container for a per-origin Map of key/value pairs potentially
// backed by storage on disk and lazily commits changes to disk.
// See class comments for DomStorageContext for a larger overview.
-class DomStorageArea
+class DOM_STORAGE_EXPORT DomStorageArea
: public base::RefCountedThreadSafe<DomStorageArea> {
public:
@@ -78,6 +79,8 @@ class DomStorageArea
// no longer do anything.
void Shutdown();
+ static void DisableCommitDelayForTesting();
+
private:
friend class DomStorageAreaTest;
FRIEND_TEST_ALL_PREFIXES(DomStorageAreaTest, DomStorageAreaBasics);
« no previous file with comments | « webkit/database/webkit_database.gypi ('k') | webkit/dom_storage/dom_storage_area.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698