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

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

Issue 10546167: Create and store persistent unique ids for sessionStorage. (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
« no previous file with comments | « webkit/dom_storage/dom_storage_session.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5b6188b566850e8977a5edc0567c494e03734c21 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, std::string());
}
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, std::string());
return new NamespaceImpl(weak_factory_.GetWeakPtr(), id);
}
« no previous file with comments | « webkit/dom_storage/dom_storage_session.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698