summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_data_deleter.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-23 18:19:28 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-23 18:19:28 +0000
commit35cc399e87932dea35a3cc7eb156cacbbff06b40 (patch)
treed7de7d46dd3eb7004a5c36060c03dedaac4cca7f /chrome/browser/extensions/extension_data_deleter.h
parent76d192b7c4ac31481129253c82aff596cf7c4932 (diff)
downloadchromium_src-35cc399e87932dea35a3cc7eb156cacbbff06b40.zip
chromium_src-35cc399e87932dea35a3cc7eb156cacbbff06b40.tar.gz
chromium_src-35cc399e87932dea35a3cc7eb156cacbbff06b40.tar.bz2
Add Content API around DOMStorageContext and IndexedDBContext. In a followup change I will remove WebKitContext usage from chrome, and then in another change probably remove it altogether.
BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9447010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123277 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_data_deleter.h')
-rw-r--r--chrome/browser/extensions/extension_data_deleter.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/extensions/extension_data_deleter.h b/chrome/browser/extensions/extension_data_deleter.h
index ec9a77b..6732445 100644
--- a/chrome/browser/extensions/extension_data_deleter.h
+++ b/chrome/browser/extensions/extension_data_deleter.h
@@ -14,6 +14,8 @@
#include "googleurl/src/gurl.h"
namespace content {
+class DOMStorageContext;
+class IndexedDBContext;
class ResourceContext;
}
@@ -30,7 +32,6 @@ class DatabaseTracker;
}
class Profile;
-class WebKitContext;
// A helper class that takes care of removing local storage, databases and
// cookies for a given extension. This is used by
@@ -71,11 +72,13 @@ class ExtensionDataDeleter
// Deletes local storage for the extension. May only be called on the webkit
// thread.
- void DeleteLocalStorageOnWebkitThread();
+ void DeleteLocalStorageOnWebkitThread(
+ scoped_refptr<content::DOMStorageContext> dom_storage_context);
// Deletes indexed db files for the extension. May only be called on the
// webkit thread.
- void DeleteIndexedDBOnWebkitThread();
+ void DeleteIndexedDBOnWebkitThread(
+ scoped_refptr<content::IndexedDBContext> indexed_db_context);
// Deletes filesystem files for the extension. May only be called on the
// file thread.
@@ -100,9 +103,6 @@ class ExtensionDataDeleter
// The security origin identifier for which we're deleting stuff.
string16 origin_id_;
- // Webkit context for accessing the DOM storage helper.
- scoped_refptr<WebKitContext> webkit_context_;
-
scoped_refptr<fileapi::FileSystemContext> file_system_context_;
// If non-empty, the extension we're deleting is an isolated app, and this