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

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

Issue 13949013: Implement download link in chrome://indexeddb-internals/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « content/content_browser.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/indexed_db_context.h
diff --git a/content/public/browser/indexed_db_context.h b/content/public/browser/indexed_db_context.h
index ce3c2c67fa14d9e7640f32a4abd96a38b83c0661..558ec12c3f8c2131fd7963616e80c5dc73f341c0 100644
--- a/content/public/browser/indexed_db_context.h
+++ b/content/public/browser/indexed_db_context.h
@@ -28,6 +28,13 @@ class IndexedDBContext : public base::RefCountedThreadSafe<IndexedDBContext> {
// Deletes all indexed db files for the given origin.
virtual void DeleteForOrigin(const GURL& origin_url) = 0;
+ // Forces the origin to close all open files.
+ virtual void ForceClose(const GURL& origin_url) = 0;
jam 2013/04/17 16:41:22 there shouldn't be changes to the content api for
+
+ virtual base::FilePath GetFilePath(const GURL& origin_url) = 0;
+
+ virtual bool HasOrigin(const GURL& origin_url) = 0;
+
// Get the file name of the local storage file for the given origin.
virtual base::FilePath GetFilePathForTesting(
const string16& origin_id) const = 0;
« no previous file with comments | « content/content_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698