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

Unified Diff: content/browser/in_process_webkit/indexed_db_context.h

Issue 7470008: Improve IndexedDB's quota support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: style problems Created 9 years, 5 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/in_process_webkit/indexed_db_context.h
diff --git a/content/browser/in_process_webkit/indexed_db_context.h b/content/browser/in_process_webkit/indexed_db_context.h
index 408cccc737a15a2a863092a8093bbbcdeeb3e9a9..02a1e07b9ecf5677f03780f90e4e97d7441a6ffe 100644
--- a/content/browser/in_process_webkit/indexed_db_context.h
+++ b/content/browser/in_process_webkit/indexed_db_context.h
@@ -56,9 +56,14 @@ class IndexedDBContext : public base::RefCountedThreadSafe<IndexedDBContext> {
// Deletes a single indexed db file.
void DeleteIndexedDBFile(const FilePath& file_path);
- // Deletes all indexed db files for the given origin.
+ // Deletes all indexed db files for the given origin. Only works for
+ // extensions, not any origin.
void DeleteIndexedDBForOrigin(const string16& origin_id);
+ // TODO(dgrogan): Once we can delete IndexedDB directories out from
+ // underneath open webkit instances, merge this and DeleteIndexedDBForOrigin.
+ void EvictOrigin(const string16& origin_id);
+
// Does a particular origin get unlimited storage?
bool IsUnlimitedStorageGranted(const GURL& origin) const;

Powered by Google App Engine
This is Rietveld 408576698