summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browsing_data_database_helper.cc
diff options
context:
space:
mode:
authormichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-26 23:45:35 +0000
committermichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-26 23:45:35 +0000
commitf26795ebb86f6bcd4da9d4971e252eea933cfdf3 (patch)
treef8ff18dade9b45f6d5924d03d488bcfeb518cf1c /chrome/browser/browsing_data_database_helper.cc
parentea4929e2226a1a83becb9ea6e4b3fb0c29b11c0e (diff)
downloadchromium_src-f26795ebb86f6bcd4da9d4971e252eea933cfdf3.zip
chromium_src-f26795ebb86f6bcd4da9d4971e252eea933cfdf3.tar.gz
chromium_src-f26795ebb86f6bcd4da9d4971e252eea933cfdf3.tar.bz2
Teach the cookie tree view and model about appcaches. Not hooked up to real data yet, but the view and model pieces are in place for windows and gtk (not yet done for the mac).
Also adds a 'name' attribute to database details pane, cleans up the layout of the detail panes on windows. BUG=25977 TEST=manual Review URL: http://codereview.chromium.org/650110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40181 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_data_database_helper.cc')
-rw-r--r--chrome/browser/browsing_data_database_helper.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/browsing_data_database_helper.cc b/chrome/browser/browsing_data_database_helper.cc
index 2898a77..5350938 100644
--- a/chrome/browser/browsing_data_database_helper.cc
+++ b/chrome/browser/browsing_data_database_helper.cc
@@ -86,8 +86,10 @@ void BrowsingDataDatabaseHelper::NotifyInUIThread() {
DCHECK(is_fetching_);
// Note: completion_callback_ mutates only in the UI thread, so it's safe to
// test it here.
- if (completion_callback_ != NULL)
+ if (completion_callback_ != NULL) {
completion_callback_->Run(database_info_);
+ completion_callback_.reset();
+ }
is_fetching_ = false;
database_info_.clear();
}