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

Unified Diff: content/browser/dom_storage/dom_storage_context_impl.h

Issue 2403713002: Add suborigin logic to url::Origin (Closed)
Patch Set: Adjust DeleteLocalStorage* API Created 4 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: content/browser/dom_storage/dom_storage_context_impl.h
diff --git a/content/browser/dom_storage/dom_storage_context_impl.h b/content/browser/dom_storage/dom_storage_context_impl.h
index 0efcb9fd47624cfb4548aa3488674a8458420b24..f4aadc25694a67477d293d39f81218004fd5c9ac 100644
--- a/content/browser/dom_storage/dom_storage_context_impl.h
+++ b/content/browser/dom_storage/dom_storage_context_impl.h
@@ -133,7 +133,8 @@ class CONTENT_EXPORT DOMStorageContextImpl
void GetLocalStorageUsage(std::vector<LocalStorageUsageInfo>* infos,
bool include_file_info);
void GetSessionStorageUsage(std::vector<SessionStorageUsageInfo>* infos);
- void DeleteLocalStorage(const GURL& origin);
+ void DeleteLocalStorageForPhysicalOrigin(const GURL& origin_url);
+ void DeleteLocalStorage(const GURL& origin_url);
void DeleteSessionStorage(const SessionStorageUsageInfo& usage_info);
// Used by content settings to alter the behavior around
@@ -223,7 +224,7 @@ class CONTENT_EXPORT DOMStorageContextImpl
void DeleteNextUnusedNamespace();
void DeleteNextUnusedNamespaceInCommitSequence();
- void DeleteAndClearStorageNamespaceForOrigin(const GURL& origin,
+ void DeleteAndClearStorageNamespaceForOrigin(const GURL& origin_url,
michaeln 2016/10/24 21:10:03 this can be deleted too
jww 2016/10/24 21:22:54 Done.
DOMStorageNamespace* local);
// Collection of namespaces keyed by id.

Powered by Google App Engine
This is Rietveld 408576698