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

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: 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: 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_;

Powered by Google App Engine
This is Rietveld 408576698