diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-18 10:02:26 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-18 10:02:26 +0000 |
commit | ec3d1456bdbfd7d7806e51dd1e59088f691495ec (patch) | |
tree | 7f85308cde8eab9ffebcb4910894c184060ba15f /chrome/browser/browsing_data_database_helper.h | |
parent | 4236df757e45014700da962b9a20d46f61b4440f (diff) | |
download | chromium_src-ec3d1456bdbfd7d7806e51dd1e59088f691495ec.zip chromium_src-ec3d1456bdbfd7d7806e51dd1e59088f691495ec.tar.gz chromium_src-ec3d1456bdbfd7d7806e51dd1e59088f691495ec.tar.bz2 |
Actually delete databases in CookiesTreeModel.
BUG=34633
TEST=delete a database while it's opened in the renderer
Review URL: http://codereview.chromium.org/600104
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39346 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_data_database_helper.h')
-rw-r--r-- | chrome/browser/browsing_data_database_helper.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/browsing_data_database_helper.h b/chrome/browser/browsing_data_database_helper.h index 0b2440c..d126a54 100644 --- a/chrome/browser/browsing_data_database_helper.h +++ b/chrome/browser/browsing_data_database_helper.h @@ -10,6 +10,7 @@ #include "base/scoped_ptr.h" #include "base/task.h" +#include "webkit/database/database_tracker.h" class Profile; @@ -82,7 +83,7 @@ class BrowsingDataDatabaseHelper void DeleteDatabaseInFileThread(const std::string& origin, const std::string& name); - Profile* profile_; + scoped_refptr<webkit_database::DatabaseTracker> tracker_; // This only mutates on the UI thread. scoped_ptr<Callback1<const std::vector<DatabaseInfo>& >::Type > |