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

Unified Diff: webkit/tools/test_shell/simple_dom_storage_system.cc

Issue 9963107: Persist sessionStorage on disk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review. Created 8 years, 6 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/tools/test_shell/simple_dom_storage_system.cc
diff --git a/webkit/tools/test_shell/simple_dom_storage_system.cc b/webkit/tools/test_shell/simple_dom_storage_system.cc
index 36180efc4372fd8d2c1fed233a77b1d1366ea7aa..98335771f5a37e1be9dabdbe4515ab5a185810d8 100644
--- a/webkit/tools/test_shell/simple_dom_storage_system.cc
+++ b/webkit/tools/test_shell/simple_dom_storage_system.cc
@@ -107,7 +107,7 @@ WebStorageNamespace* SimpleDomStorageSystem::NamespaceImpl::copy() {
int new_id = kInvalidNamespaceId;
if (Context()) {
new_id = Context()->AllocateSessionId();
- Context()->CloneSessionNamespace(namespace_id_, new_id);
+ Context()->CloneSessionNamespace(namespace_id_, new_id, "");
}
return new NamespaceImpl(parent_, new_id);
}
@@ -215,7 +215,7 @@ WebStorageNamespace* SimpleDomStorageSystem::CreateLocalStorageNamespace() {
WebStorageNamespace* SimpleDomStorageSystem::CreateSessionStorageNamespace() {
int id = context_->AllocateSessionId();
- context_->CreateSessionNamespace(id);
+ context_->CreateSessionNamespace(id, "");
return new NamespaceImpl(weak_factory_.GetWeakPtr(), id);
}
« webkit/dom_storage/dom_storage_context.h ('K') | « webkit/dom_storage/webkit_dom_storage.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698