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..c508fd4b33014be1393ac5f9da792541d3ade465 100644 |
--- a/webkit/dom_storage/dom_storage_area.h |
+++ b/webkit/dom_storage/dom_storage_area.h |
@@ -14,6 +14,8 @@ |
#include "googleurl/src/gurl.h" |
#include "webkit/dom_storage/dom_storage_types.h" |
+class DOMStorageContextImpl; |
+ |
namespace dom_storage { |
class DomStorageDatabaseAdapter; |
@@ -89,6 +91,8 @@ class DomStorageArea |
FRIEND_TEST_ALL_PREFIXES(DomStorageAreaTest, PurgeMemory); |
FRIEND_TEST_ALL_PREFIXES(DomStorageContextTest, PersistentIds); |
friend class base::RefCountedThreadSafe<DomStorageArea>; |
+ // For calling DisableCommitDelayForTesting in tests. |
+ friend class ::DOMStorageContextImpl; |
struct CommitBatch { |
bool clear_all_first; |
@@ -114,6 +118,8 @@ class DomStorageArea |
void ShutdownInCommitSequence(); |
+ static void DisableCommitDelayForTesting(); |
+ |
int64 namespace_id_; |
std::string persistent_namespace_id_; |
GURL origin_; |