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

Unified Diff: webkit/dom_storage/dom_storage_namespace.cc

Issue 10910045: DomStorage: Clear the renderer side cache too when the user clears browsing data. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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_namespace.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/dom_storage/dom_storage_namespace.cc
===================================================================
--- webkit/dom_storage/dom_storage_namespace.cc (revision 153968)
+++ webkit/dom_storage/dom_storage_namespace.cc (working copy)
@@ -63,6 +63,13 @@
// The in-process-webkit based impl didn't do this either, but would be nice.
}
+DomStorageArea* DomStorageNamespace::GetOpenStorageArea(const GURL& origin) {
+ AreaHolder* holder = GetAreaHolder(origin);
+ if (holder && holder->open_count_)
+ return holder->area_;
+ return NULL;
+}
+
DomStorageNamespace* DomStorageNamespace::Clone(
int64 clone_namespace_id,
const std::string& clone_persistent_namespace_id) {
« no previous file with comments | « webkit/dom_storage/dom_storage_namespace.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698