summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browsing_data_quota_helper_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browsing_data_quota_helper_impl.cc')
-rw-r--r--chrome/browser/browsing_data_quota_helper_impl.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/browser/browsing_data_quota_helper_impl.cc b/chrome/browser/browsing_data_quota_helper_impl.cc
index ed8bb71..12d88f0 100644
--- a/chrome/browser/browsing_data_quota_helper_impl.cc
+++ b/chrome/browser/browsing_data_quota_helper_impl.cc
@@ -36,10 +36,6 @@ void BrowsingDataQuotaHelperImpl::StartFetching(
FetchQuotaInfo();
}
-void BrowsingDataQuotaHelperImpl::CancelNotification() {
- callback_.Reset();
-}
-
void BrowsingDataQuotaHelperImpl::RevokeHostQuota(const std::string& host) {
if (!io_thread_->BelongsToCurrentThread()) {
io_thread_->PostTask(
@@ -146,10 +142,6 @@ void BrowsingDataQuotaHelperImpl::GotHostUsage(const std::string& host,
}
void BrowsingDataQuotaHelperImpl::OnComplete() {
- // Check if CancelNotification was called
- if (callback_.is_null())
- return;
-
if (!ui_thread_->BelongsToCurrentThread()) {
ui_thread_->PostTask(
FROM_HERE,