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

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

Issue 1953703004: Purge browser cache for dom storage in a smarter way (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dom_storage
Patch Set: Created 4 years, 7 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_database.h
diff --git a/content/browser/dom_storage/dom_storage_database.h b/content/browser/dom_storage/dom_storage_database.h
index 75416374edee676e1a5ce2f7e27a52edd709df1f..2c75694fb157e0520966d2f12a10c43e8cd9e9a0 100644
--- a/content/browser/dom_storage/dom_storage_database.h
+++ b/content/browser/dom_storage/dom_storage_database.h
@@ -43,6 +43,8 @@ class CONTENT_EXPORT DOMStorageDatabase {
// Simple getter for the path we were constructed with.
const base::FilePath& file_path() const { return file_path_; }
+ void TrimDatabase();
+
protected:
// Constructor that uses an in-memory sqlite database, for testing.
DOMStorageDatabase();

Powered by Google App Engine
This is Rietveld 408576698