summaryrefslogtreecommitdiffstats
path: root/chrome/browser/in_process_webkit/indexed_db_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/in_process_webkit/indexed_db_context.h')
-rw-r--r--chrome/browser/in_process_webkit/indexed_db_context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/in_process_webkit/indexed_db_context.h b/chrome/browser/in_process_webkit/indexed_db_context.h
index 6112d94..ca6471e 100644
--- a/chrome/browser/in_process_webkit/indexed_db_context.h
+++ b/chrome/browser/in_process_webkit/indexed_db_context.h
@@ -33,6 +33,11 @@ class IndexedDBContext {
// Get the file name of the indexed db file for the given origin.
FilePath GetIndexedDBFilePath(const string16& origin_id) const;
+ // Deletes all idb files except for those on the url scheme
+ // |url_scheme_to_be_skipped|.
+ static void ClearLocalState(const FilePath& profile_path,
+ const char* url_scheme_to_be_skipped);
+
private:
scoped_ptr<WebKit::WebIDBFactory> idb_factory_;